Package net.sf.basedb.core.data
Class PluginPermission
java.lang.Object
net.sf.basedb.core.data.PluginPermission
- Version:
- 2.1
- Author:
- Martin
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The plugin's permission can be set to always be used or only if the user has it already.int
The permissions for the pluginvoid
setDenied
(int denied) void
setGranted
(int granted)
-
Field Details
-
granted
private int granted -
denied
private int denied
-
-
Constructor Details
-
PluginPermission
public PluginPermission() -
PluginPermission
public PluginPermission(int granted, int denied)
-
-
Method Details
-
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"
-