Package mc.core.model.cc
Class Right
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.SimpleEntity
mc.core.model.cc.Right
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
Entity that serves as database representation for a RightType and holds the information if it is locale dependent.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator, EntityBase.Param -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longused as synthetic id for display and select simulated right for user defined rightFields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisAllowedFor(Class<? extends IBaseEntity> entityClass) booleanisAllowedFor(IBaseEntity object) booleanvoidsetAllowedEntityClasses(List<String> entityClassNames) voidsetExcluded(boolean excluded) voidsetExcludedEntityClasses(List<String> entityClassNames) voidsetLocaleDependent(boolean localeDependent) voidsetRightType(RightType rightType) toString()for logging/debuggingMethods inherited from class mc.core.model.base.SimpleEntity
getId, getInternalDescription, getIsActive, setId, setIsActiveMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio
-
Field Details
-
USER_DEFINED_RIGHT
public static final long USER_DEFINED_RIGHTused as synthetic id for display and select simulated right for user defined right- See Also:
-
-
Constructor Details
-
Right
public Right()default constructor
-
-
Method Details
-
getRightType
-
setRightType
-
getLocaleDependent
public boolean getLocaleDependent() -
setLocaleDependent
public void setLocaleDependent(boolean localeDependent) -
isExcluded
public boolean isExcluded() -
setExcluded
public void setExcluded(boolean excluded) -
getAllowedEntityClasses
-
setAllowedEntityClasses
-
getExcludedEntityClasses
-
setExcludedEntityClasses
-
isAllowedFor
-
isAllowedFor
-
toString
Description copied from class:EntityBasefor logging/debugging- Overrides:
toStringin classEntityBase
-