Interface StateApproval


  • public interface StateApproval
    Represents an active approval on a page
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<Approval> getApprovals()
      Returns a list of all approve and reject activities on this approval.
      java.util.List<java.lang.String> getAssignees()
      The users assigned to this approval.
      java.lang.String getName()
      The name of the approval
      java.util.List<java.lang.String> getPendingApprovers()
      Returns a list of users who are assigned but have not yet approved or rejected this approval.
    • Method Detail

      • getName

        java.lang.String getName()
        The name of the approval
      • getAssignees

        java.util.List<java.lang.String> getAssignees()
        The users assigned to this approval. The users could be predefined in the workflow or assigned after the state/approval was created.
        Returns:
        the current assignees
      • getPendingApprovers

        java.util.List<java.lang.String> getPendingApprovers()
        Returns a list of users who are assigned but have not yet approved or rejected this approval.
        Returns:
        the list of assigned users (usernames) that have not approved or rejected this approval
        Since:
        1.11
      • getApprovals

        java.util.List<Approval> getApprovals()
        Returns a list of all approve and reject activities on this approval. A single user may be repeated in this list if they have carried out multiple activities, ie, reject than approve.
        Returns:
        the list of approval records on this approval.
        Since:
        1.11