Package com.axemble.vdp.security.helper
Class TrusteeRight
java.lang.Object
com.axemble.vdp.security.helper.TrusteeRight
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected RightValueprotected intstatic final intstatic final intstatic final intstatic final intstatic final intprotected final TrusteeObject
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_CREATEDpublic static final int STATE_CREATED- See Also:
 
- 
STATE_LOADEDpublic static final int STATE_LOADED- See Also:
 
- 
STATE_UPDATEDpublic static final int STATE_UPDATED- See Also:
 
- 
STATE_DELETEDpublic static final int STATE_DELETED- See Also:
 
- 
STATE_IGNOREDpublic static final int STATE_IGNORED- See Also:
 
- 
trustee
- 
rightValue
- 
stateprotected int state
 
- 
- 
Constructor Details- 
TrusteeRight
 
- 
- 
Method Details- 
stateToString
- 
copy
- 
getRightValue
- 
getTrustee
- 
getStatepublic int getState()
- 
setStatepublic void setState(int state) 
- 
onValueChangeprotected void onValueChange()
- 
deletepublic void delete()
- 
isCreatedpublic boolean isCreated()
- 
isLoadedpublic boolean isLoaded()
- 
isUpdatedpublic boolean isUpdated()
- 
isDeletedpublic boolean isDeleted()
- 
isIgnoredpublic boolean isIgnored()
- 
isValidpublic boolean isValid()
- 
toString
- 
getValuepublic int getValue()
- 
setValuepublic void setValue(int value) 
- 
clearFlagpublic void clearFlag(int value) 
- 
increaseLevelpublic void increaseLevel(int value) 
- 
setFlagpublic void setFlag(int value) 
- 
decreaseLevelpublic void decreaseLevel(int value) 
- 
getTypepublic int getType()
- 
rightEquals
- 
isFlag
- 
isGOET- Returns:
- is greater or equal to
 
- 
isLOET- Returns:
- is lower or equal to
 
- 
copyRight
 
-