Interface Responsibility

All Superinterfaces:
Entity, Resource, Serializable

public interface Responsibility extends Resource
Represents a responsibility

Responsibility combines a user or group with the role it plays for a certain resource or globally.

  • Method Details

    • 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