Package net.sf.basedb.core.data
Class PluginPermission
- java.lang.Object
-
- net.sf.basedb.core.data.PluginPermission
-
public class PluginPermission extends Object
- Version:
- 2.1
- Author:
- Martin
- See Also:
- Developer documentation: User authentication, Developer documentation: Plug-ins, jobs and job agents
-
-
Constructor Summary
Constructors Constructor Description PluginPermission()
PluginPermission(int granted, int denied)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDenied()
The plugin's permission can be set to always be used or only if the user has it already.int
getGranted()
The permissions for the pluginvoid
setDenied(int denied)
void
setGranted(int granted)
-
-
-
Method Detail
-
setGranted
public void setGranted(int granted)
-
getGranted
public int getGranted()
The permissions for the plugin- Hibernate: property
- column="`granted`" not-null="true" type="int"
-
setDenied
public void setDenied(int denied)
-
getDenied
public int getDenied()
The plugin's permission can be set to always be used or only if the user has it already.- Hibernate: property
- column="`denied`" not-null="true" type="int"
-
-