Interface LifecycleRole


public interface LifecycleRole
Provides methods to retrieve role information for a document or object lifecycle.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the lifecycle role label, for example, Approver.
    Retrieves the lifecycle role name, for example, approver__c.
    Retrieves the application role associated with the lifecycle role.
  • Method Details

    • getLifecycleRoleLabel

      String getLifecycleRoleLabel()
      Retrieves the lifecycle role label, for example, Approver.
      Returns:
      the lifecycle role's label
    • getLifecycleRoleName

      String getLifecycleRoleName()
      Retrieves the lifecycle role name, for example, approver__c.
      Returns:
      the lifecycle roles' name
    • getRole

      Role getRole()
      Retrieves the application role associated with the lifecycle role.
      Returns:
      the application role associated with the lifecycle role