Package com.axemble.vdp.security.helper
Class TrusteeRight
java.lang.Object
com.axemble.vdp.security.helper.TrusteeRight
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected RightValue
protected int
static final int
static final int
static final int
static final int
static final int
protected final TrusteeObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearFlag
(int value) copy()
void
decreaseLevel
(int value) void
delete()
int
getState()
int
getType()
int
getValue()
void
increaseLevel
(int value) boolean
boolean
boolean
isFlag
(RightConst other) boolean
isGOET
(RightConst other) boolean
boolean
isLoaded()
boolean
isLOET
(RightConst other) boolean
boolean
isValid()
protected void
boolean
rightEquals
(RightConst other) void
setFlag
(int value) void
setState
(int state) void
setValue
(int value) static String
stateToString
(int state) toString()
-
Field Details
-
STATE_CREATED
public static final int STATE_CREATED- See Also:
-
STATE_LOADED
public static final int STATE_LOADED- See Also:
-
STATE_UPDATED
public static final int STATE_UPDATED- See Also:
-
STATE_DELETED
public static final int STATE_DELETED- See Also:
-
STATE_IGNORED
public static final int STATE_IGNORED- See Also:
-
trustee
-
rightValue
-
state
protected int state
-
-
Constructor Details
-
TrusteeRight
-
-
Method Details
-
stateToString
-
copy
-
getRightValue
-
getTrustee
-
getState
public int getState() -
setState
public void setState(int state) -
onValueChange
protected void onValueChange() -
delete
public void delete() -
isCreated
public boolean isCreated() -
isLoaded
public boolean isLoaded() -
isUpdated
public boolean isUpdated() -
isDeleted
public boolean isDeleted() -
isIgnored
public boolean isIgnored() -
isValid
public boolean isValid() -
toString
-
getValue
public int getValue() -
setValue
public void setValue(int value) -
clearFlag
public void clearFlag(int value) -
increaseLevel
public void increaseLevel(int value) -
setFlag
public void setFlag(int value) -
decreaseLevel
public void decreaseLevel(int value) -
getType
public int getType() -
rightEquals
-
isFlag
-
isGOET
- Returns:
- is greater or equal to
-
isLOET
- Returns:
- is lower or equal to
-
copyRight
-