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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the user can add attachments or notes to the processboolean
Determines whether the user can archive the processboolean
Determines whether the user can change security settings on the processboolean
isDelete()
Determines whether the user can delete the processboolean
Determines whether the user can modify the process in-flight.boolean
Determines whether the user can remove attachments or notes from the processboolean
Determines whether the user can stop and pause the processboolean
Determines whether the user can update process variables.boolean
Determines whether the user can view reports on nodes of the processboolean
Determines whether the user can view reports on the processboolean
Determines whether the user can view the status the processvoid
setAddAttachment
(boolean addAttachment_) void
setArchive
(boolean archive_) void
setChangeRole
(boolean changeRole_) void
setDelete
(boolean delete_) void
setModifyInFlight
(boolean modifyInFlight_) void
setRemoveAttachment
(boolean removeAttachment_) void
setStopAndPause
(boolean stopAndPause_) void
setUpdateVariables
(boolean updateVariables_) void
setViewNodeReport
(boolean viewNodeReport_) void
setViewReport
(boolean viewReport_) void
setViewStatus
(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:
true
if the user can add attachments or notes to the process;false
otherwise
-
setAddAttachment
public void setAddAttachment(boolean addAttachment_) - See Also:
-
isChangeRole
public boolean isChangeRole()Determines whether the user can change security settings on the process- Returns:
true
if the user can change security settings on the process;false
otherwise
-
setChangeRole
public void setChangeRole(boolean changeRole_) - See Also:
-
isDelete
public boolean isDelete()Determines whether the user can delete the process- Returns:
true
if the user can delete the process;false
otherwise
-
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:
true
if the user can remove attachments or notes from the process;false
otherwise
-
setRemoveAttachment
public void setRemoveAttachment(boolean removeAttachment_) - See Also:
-
isViewReport
public boolean isViewReport()Determines whether the user can view reports on the process- Returns:
true
if the user can view reports on the process;false
otherwise
-
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:
true
if the user can modify the process in-flight;false
otherwise
-
setModifyInFlight
public void setModifyInFlight(boolean modifyInFlight_) - See Also:
-
isStopAndPause
public boolean isStopAndPause()Determines whether the user can stop and pause the process- Returns:
true
if the user can stop and pause the process;false
otherwise
-
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:
true
if the user can view reports on nodes of the process;false
otherwise
-
setViewNodeReport
public void setViewNodeReport(boolean viewNodeReport_) - See Also:
-
isViewStatus
public boolean isViewStatus()Determines whether the user can view the status the process- Returns:
true
if the user can view the status of the process;false
otherwise
-
setViewStatus
public void setViewStatus(boolean viewStatus_) - See Also:
-
isArchive
public boolean isArchive()Determines whether the user can archive the process- Returns:
true
if the user can archive the process;false
otherwise
-
setArchive
public void setArchive(boolean archive_) - See Also:
-
isUpdateVariables
public boolean isUpdateVariables()Determines whether the user can update process variables.- Returns:
true
if the user can archive the process;false
otherwise
-
setUpdateVariables
public void setUpdateVariables(boolean updateVariables_) - See Also:
-