Class Approval

java.lang.Object
com.appiancorp.suiteapi.content.Approval

public class Approval extends Object
The approval bean contains the approval status for a list of content items.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the explicit groups that could approve, not including implicit App Admins.
    Get the explicit users that could approve, not including implicit App Admins.
    Get the content ids that were acted upon (this is the full list of ids that were acted upon, while other methods such as getPendingId() return the appropriate subsets of this list).
    Get the ids that were not fully acted upon, and as such are in a pending state (pending creation approval, deletion approval, etc.).
    Get the log ids of those pending (the log ids being KC ids where applicable).
    Get the names of the pending content items.
    void
    setApproverGroups(Long[] approverGroups_)
    Set the groups that can approve.
    void
    setApproverUsers(String[] approverUsers_)
    Set the users that can approve.
    void
    setId(Long[] ids_)
    Set the content ids that were acted upon (created, deleted, etc).
    void
    setPendingId(Long[] pendingIds_)
    Set the ids that were not fully acted upon, and as such are in a pending state (pending creation approval, deletion approval, etc.).
    void
    setPendingLogId(Long[] pendingLogIds_)
    Get the log ids of those pending (the log ids being KC ids where applicable).
    void
    setPendingName(String[] pendingNames_)
    Set the names of the pending content items.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Approval

      public Approval()
  • Method Details

    • getApproverGroups

      public Long[] getApproverGroups()
      Get the explicit groups that could approve, not including implicit App Admins. This is most commonly used for notifications.
      Returns:
      the ids of the approver groups
      See Also:
    • setApproverGroups

      public void setApproverGroups(Long[] approverGroups_)
      Set the groups that can approve.
      Parameters:
      approverGroups_ - ids of the approver groups
      See Also:
    • getApproverUsers

      public String[] getApproverUsers()
      Get the explicit users that could approve, not including implicit App Admins. This is most commonly used for notifications.
      Returns:
      usernames of the approvers
      See Also:
    • setApproverUsers

      public void setApproverUsers(String[] approverUsers_)
      Set the users that can approve.
      Parameters:
      approverUsers_ - usernames of the approvers
      See Also:
    • getId

      public Long[] getId()
      Get the content ids that were acted upon (this is the full list of ids that were acted upon, while other methods such as getPendingId() return the appropriate subsets of this list).
      Returns:
      list of content ids
      See Also:
    • setId

      public void setId(Long[] ids_)
      Set the content ids that were acted upon (created, deleted, etc).
      Parameters:
      ids_ - list of content ids
      See Also:
    • getPendingId

      public Long[] getPendingId()
      Get the ids that were not fully acted upon, and as such are in a pending state (pending creation approval, deletion approval, etc.).
      Returns:
      list of pending content ids
      See Also:
    • setPendingId

      public void setPendingId(Long[] pendingIds_)
      Set the ids that were not fully acted upon, and as such are in a pending state (pending creation approval, deletion approval, etc.).
      Parameters:
      pendingIds_ - list of content ids
      See Also:
    • getPendingLogId

      public Long[] getPendingLogId()
      Get the log ids of those pending (the log ids being KC ids where applicable).
      Returns:
      log ids
      See Also:
    • setPendingLogId

      public void setPendingLogId(Long[] pendingLogIds_)
      Get the log ids of those pending (the log ids being KC ids where applicable).
      Parameters:
      pendingLogIds_ - log ids
      See Also:
    • getPendingName

      public String[] getPendingName()
      Get the names of the pending content items.
      Returns:
      names of pending content items
      See Also:
    • setPendingName

      public void setPendingName(String[] pendingNames_)
      Set the names of the pending content items.
      Parameters:
      pendingNames_ - content names
      See Also: