Interface ResponsibilityContract

All Superinterfaces:
GloballyUnique, Identifiable, Inactivatable, Versioned
All Known Implementing Classes:
Responsibility, Responsibility.Builder

public interface ResponsibilityContract extends Versioned, GloballyUnique, Inactivatable, Identifiable
This is the contract for a Responsibility. Represents a single Responsibility within the system. Responsibilities are attached to roles. All authorization checks should be done against Responsibilities, never against roles or groups.
  • Method Details

    • getNamespaceCode

      String getNamespaceCode()
      The namespace code that this Responsibility belongs too.
      Returns:
      namespaceCode
    • getName

      String getName()
      The name of the Responsibility.
      Returns:
      name
    • getDescription

      String getDescription()
      The description of the Responsibility.
      Returns:
      description
    • getTemplate

      TemplateContract getTemplate()
      The Template referenced by the Responsibility.
      Returns:
      templateId
    • getAttributes

      Map<String,String> getAttributes()
      Attributes for a Responsibility.
      Returns:
      attributes