Interface Responsibility
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents a responsibility
Responsibility combines a user or group with the role it plays for a certain resource or globally.
-
Method Summary
Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
getRole
NamedResourceReference getRole()Returns the reference to the role that assigned user plays.- Returns:
- the reference to the role that assigned user plays
-
getBaseResource
ResourceReference getBaseResource()Returns the reference to the resource for which user is responsible for. If not specified then the responsibility is global.- Returns:
- the reference to the resource for which user is responsible for
-
getOwner
ResourceReference getOwner()Returns the reference to the user assigned to given resource (or globally) with given role.- Returns:
- the reference to the user assigned to given resource (or globally) with given role
-