Class ProcessModelPermissions

java.lang.Object
com.appiancorp.suiteapi.process.security.ProcessModelPermissions
All Implemented Interfaces:
com.appiancorp.process.security.Permissions, Serializable

public class ProcessModelPermissions extends Object implements com.appiancorp.process.security.Permissions
Permissions for the user on the Process Model
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a new ProcessModelPermissions object.
    ProcessModelPermissions(boolean default_)
    Construct a new ProcessModelPermissions object with all properties set to default_
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether the current user can add attachments or notes to the process model
    boolean
    Determines whether the current user can archive process models
    boolean
    Determines whether the current user can change security settings on the process model
    boolean
    Determines whether the current user can delete the process model
    boolean
    Determines whether the current user can edit and save the process model
    boolean
    Determines whether the current user can start processes from the process model
    boolean
    Determines whether the current user can override the lock on the process model, if any exists
    boolean
    Determines whether the current user can start publish the process model
    boolean
    Determines whether the current user can remove attachments or notes from the process model
    boolean
    Deprecated.
    boolean
    Determines whether the current user can view the process model
    boolean
    Determines whether the current user can view reports about the process model
    void
    setAddAttachment(boolean addAttachment_)
     
    void
    setArchive(boolean archive_)
     
    void
    setChangeRole(boolean changeRole_)
     
    void
    setDelete(boolean delete_)
     
    void
    setEditAndSave(boolean editAndSave_)
     
    void
    setInitiateProcess(boolean initiateProcess_)
     
    void
    setOverrideLock(boolean overrideLock_)
     
    void
    setPublish(boolean publish_)
     
    void
    setRemoveAttachment(boolean removeAttachment_)
     
    void
    setSimulate(boolean simulate_)
    Deprecated.
    void
    setView(boolean view_)
     
    void
    setViewReport(boolean viewReport_)
     

    Methods inherited from class java.lang.Object

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

    • ProcessModelPermissions

      public ProcessModelPermissions()
      Construct a new ProcessModelPermissions object. All properties will be false
    • ProcessModelPermissions

      public ProcessModelPermissions(boolean default_)
      Construct a new ProcessModelPermissions object with all properties set to default_
      Parameters:
      default_ -
  • Method Details

    • isAddAttachment

      public boolean isAddAttachment()
      Determines whether the current user can add attachments or notes to the process model
      Returns:
      true if the user can add attachments or notes to the process model, else false
    • setAddAttachment

      public void setAddAttachment(boolean addAttachment_)
      See Also:
    • isArchive

      public boolean isArchive()
      Determines whether the current user can archive process models
      Returns:
      true if the user can archive process models, else false
    • setArchive

      public void setArchive(boolean archive_)
      See Also:
    • isChangeRole

      public boolean isChangeRole()
      Determines whether the current user can change security settings on the process model
      Returns:
      true if the user can change security settings on the process model, else false
      See Also:
    • setChangeRole

      public void setChangeRole(boolean changeRole_)
      See Also:
    • isDelete

      public boolean isDelete()
      Determines whether the current user can delete the process model
      Returns:
      true if the user can delete the process model, else false
      See Also:
    • setDelete

      public void setDelete(boolean delete_)
      See Also:
    • isEditAndSave

      public boolean isEditAndSave()
      Determines whether the current user can edit and save the process model
      Returns:
      true if the user can edit and save the process model, else false
    • setEditAndSave

      public void setEditAndSave(boolean editAndSave_)
      See Also:
    • isInitiateProcess

      public boolean isInitiateProcess()
      Determines whether the current user can start processes from the process model
      Returns:
      true if the user can start a process from the process model, else false
    • setInitiateProcess

      public void setInitiateProcess(boolean initiateProcess_)
      See Also:
    • isPublish

      public boolean isPublish()
      Determines whether the current user can start publish the process model
      Returns:
      true if the user can publish the process model, else false
      See Also:
    • setPublish

      public void setPublish(boolean publish_)
      See Also:
    • isRemoveAttachment

      public boolean isRemoveAttachment()
      Determines whether the current user can remove attachments or notes from the process model
      Returns:
      true if the user can remove attachments or notes from the process model, else false
    • setRemoveAttachment

      public void setRemoveAttachment(boolean removeAttachment_)
      See Also:
    • isSimulate

      @Deprecated public boolean isSimulate()
      Deprecated.
      Determines whether the current user can run simulations on the process model
      Returns:
      true if the user can run simulations on the process model, else false
    • setSimulate

      @Deprecated public void setSimulate(boolean simulate_)
      Deprecated.
      See Also:
    • isView

      public boolean isView()
      Determines whether the current user can view the process model
      Returns:
      true if the user can view the process model, else false
    • setView

      public void setView(boolean view_)
      See Also:
    • isViewReport

      public boolean isViewReport()
      Determines whether the current user can view reports about the process model
      Returns:
      true if the user can see reports about the process model, else false
    • setViewReport

      public void setViewReport(boolean viewReport_)
      See Also:
    • isOverrideLock

      public boolean isOverrideLock()
      Determines whether the current user can override the lock on the process model, if any exists
      Returns:
      true if the user can override the lock on the process model, else false
      See Also:
    • setOverrideLock

      public void setOverrideLock(boolean overrideLock_)
      See Also: