public class PluginKeys extends Object implements Serializable, Comparable<PluginKeys>
PluginKeys
table.Modifier and Type | Field and Description |
---|---|
private int |
denied |
private int |
granted |
private int |
keyId |
private int |
pluginDefinitionId |
private static long |
serialVersionUID |
Constructor and Description |
---|
PluginKeys()
Create new
PluginKeys object |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PluginKeys other)
Compare the keyId of this object to the keyId of
another
PluginKeys object. |
boolean |
equals(Object o)
Check if this object is equal to another
RoleKeys
object. |
int |
getDenied()
Get the denied permissions.
|
int |
getGranted()
Get the granted permissions.
|
int |
getKeyId()
Gets the id of the
RoleKey |
int |
getPluginDefinitionId()
Gets the id of the plugin
|
int |
hashCode()
Calculate the hash code for the object.
|
void |
setDenied(int denied)
Set the denied permissions.
|
void |
setGranted(int granted)
Set the granted permissions.
|
void |
setKeyId(int keyId)
Sets the id of the
RoleKey |
void |
setPluginDefinitionId(int pluginDefinitionId)
Sets the
PluginDefinition :s ID |
private static final long serialVersionUID
private int pluginDefinitionId
private int keyId
private int granted
private int denied
public int getPluginDefinitionId()
public void setPluginDefinitionId(int pluginDefinitionId)
PluginDefinition
:s IDpluginDefinitionId
- The ID of PluginDefinition
to be set.public int getKeyId()
RoleKey
public void setKeyId(int keyId)
RoleKey
public final int getGranted()
public final void setGranted(int granted)
public final int getDenied()
public final void setDenied(int denied)
public boolean equals(Object o)
RoleKeys
object. They are considered to be the same if the role id and the
key id are the same. The permissions may be different.public int hashCode()
public final int compareTo(PluginKeys other)
PluginKeys
object.compareTo
in interface Comparable<PluginKeys>