Class ProcessPermissions
java.lang.Object
com.appiancorp.suiteapi.process.security.ProcessPermissions
- All Implemented Interfaces:
com.appiancorp.process.security.Permissions,Serializable
public class ProcessPermissions
extends Object
implements com.appiancorp.process.security.Permissions
This class encapsulates the permissions of a user for a particular process
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the user can add attachments or notes to the processbooleanDetermines whether the user can archive the processbooleanDetermines whether the user can change security settings on the processbooleanisDelete()Determines whether the user can delete the processbooleanDetermines whether the user can modify the process in-flight.booleanDetermines whether the user can remove attachments or notes from the processbooleanDetermines whether the user can stop and pause the processbooleanDetermines whether the user can update process variables.booleanDetermines whether the user can view reports on nodes of the processbooleanDetermines whether the user can view reports on the processbooleanDetermines whether the user can view the status the processvoidsetAddAttachment(boolean addAttachment_) voidsetArchive(boolean archive_) voidsetChangeRole(boolean changeRole_) voidsetDelete(boolean delete_) voidsetModifyInFlight(boolean modifyInFlight_) voidsetRemoveAttachment(boolean removeAttachment_) voidsetStopAndPause(boolean stopAndPause_) voidsetUpdateVariables(boolean updateVariables_) voidsetViewNodeReport(boolean viewNodeReport_) voidsetViewReport(boolean viewReport_) voidsetViewStatus(boolean viewStatus_)
-
Constructor Details
-
ProcessPermissions
public ProcessPermissions()
-
-
Method Details
-
isAddAttachment
public boolean isAddAttachment()Determines whether the user can add attachments or notes to the process- Returns:
trueif the user can add attachments or notes to the process;falseotherwise
-
setAddAttachment
public void setAddAttachment(boolean addAttachment_) - See Also:
-
isChangeRole
public boolean isChangeRole()Determines whether the user can change security settings on the process- Returns:
trueif the user can change security settings on the process;falseotherwise
-
setChangeRole
public void setChangeRole(boolean changeRole_) - See Also:
-
isDelete
public boolean isDelete()Determines whether the user can delete the process- Returns:
trueif the user can delete the process;falseotherwise
-
setDelete
public void setDelete(boolean delete_) - See Also:
-
isRemoveAttachment
public boolean isRemoveAttachment()Determines whether the user can remove attachments or notes from the process- Returns:
trueif the user can remove attachments or notes from the process;falseotherwise
-
setRemoveAttachment
public void setRemoveAttachment(boolean removeAttachment_) - See Also:
-
isViewReport
public boolean isViewReport()Determines whether the user can view reports on the process- Returns:
trueif the user can view reports on the process;falseotherwise
-
setViewReport
public void setViewReport(boolean viewReport_) - See Also:
-
isModifyInFlight
public boolean isModifyInFlight()Determines whether the user can modify the process in-flight. This includes all modifications that are not already specified by other properties of this class- Returns:
trueif the user can modify the process in-flight;falseotherwise
-
setModifyInFlight
public void setModifyInFlight(boolean modifyInFlight_) - See Also:
-
isStopAndPause
public boolean isStopAndPause()Determines whether the user can stop and pause the process- Returns:
trueif the user can stop and pause the process;falseotherwise
-
setStopAndPause
public void setStopAndPause(boolean stopAndPause_) - See Also:
-
isViewNodeReport
public boolean isViewNodeReport()Determines whether the user can view reports on nodes of the process- Returns:
trueif the user can view reports on nodes of the process;falseotherwise
-
setViewNodeReport
public void setViewNodeReport(boolean viewNodeReport_) - See Also:
-
isViewStatus
public boolean isViewStatus()Determines whether the user can view the status the process- Returns:
trueif the user can view the status of the process;falseotherwise
-
setViewStatus
public void setViewStatus(boolean viewStatus_) - See Also:
-
isArchive
public boolean isArchive()Determines whether the user can archive the process- Returns:
trueif the user can archive the process;falseotherwise
-
setArchive
public void setArchive(boolean archive_) - See Also:
-
isUpdateVariables
public boolean isUpdateVariables()Determines whether the user can update process variables.- Returns:
trueif the user can archive the process;falseotherwise
-
setUpdateVariables
public void setUpdateVariables(boolean updateVariables_) - See Also:
-