2.17.2: 2011-06-17

net.sf.basedb.core.data
Class PluginPermission

java.lang.Object
  extended by net.sf.basedb.core.data.PluginPermission

public class PluginPermission
extends Object

Version:
2.1
Author:
Martin
See Also:
Authentication overview

Field Summary
private  int denied
           
private  int granted
           
 
Constructor Summary
PluginPermission()
           
PluginPermission(int granted, int denied)
           
 
Method Summary
 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 plugin
 void setDenied(int denied)
           
 void setGranted(int granted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

granted

private int granted

denied

private int denied
Constructor Detail

PluginPermission

public PluginPermission()

PluginPermission

public PluginPermission(int granted,
                        int denied)
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"

2.17.2: 2011-06-17