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
FieldsModifier and TypeFieldDescriptionprotected RightValueprotected intstatic final intstatic final intstatic final intstatic final intstatic final intprotected final TrusteeObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearFlag(int value) copy()voiddecreaseLevel(int value) voiddelete()intgetState()intgetType()intgetValue()voidincreaseLevel(int value) booleanbooleanbooleanisFlag(RightConst other) booleanisGOET(RightConst other) booleanbooleanisLoaded()booleanisLOET(RightConst other) booleanbooleanisValid()protected voidbooleanrightEquals(RightConst other) voidsetFlag(int value) voidsetState(int state) voidsetValue(int value) static StringstateToString(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
-