Package mc.core.model.base
Interface IRightManaged
- All Superinterfaces:
IBaseEntity,ICoreEntity,IEntity,Serializable
- All Known Implementing Classes:
Asset,Attribute,ClassificationHrc,Collection,ImportProfile,Node,NodeHrc,Project,PublicationProfile
Interface to signal that implementing entity can be under right management. Usually the type of the entity decides if
right management is active.
-
Method Summary
Modifier and TypeMethodDescriptiongive the maximum list of RightTypes that apply for this class.booleanMethods inherited from interface mc.core.model.base.IBaseEntity
getId, setIdMethods inherited from interface mc.core.model.base.IEntity
getDescription, getInternalDescription, getName, getPrio, setInternalDescription
-
Method Details
-
getAllowedRightTypes
RightType[] getAllowedRightTypes()give the maximum list of RightTypes that apply for this class.- Returns:
- array of enum RightType
-
getPermissions
List<Permission> getPermissions()- Returns:
- the actually assigned permissions to this instance
-
getHasObjectRights
boolean getHasObjectRights()- Returns:
- true if right management is active for this class, usually delegate to type
-