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
ConstructorsConstructorDescriptionConstruct a newProcessModelPermissionsobject.ProcessModelPermissions(boolean default_) Construct a newProcessModelPermissionsobject with all properties set todefault_ -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the current user can add attachments or notes to the process modelbooleanDetermines whether the current user can archive process modelsbooleanDetermines whether the current user can change security settings on the process modelbooleanisDelete()Determines whether the current user can delete the process modelbooleanDetermines whether the current user can edit and save the process modelbooleanDetermines whether the current user can start processes from the process modelbooleanDetermines whether the current user can override the lock on the process model, if any existsbooleanDetermines whether the current user can start publish the process modelbooleanDetermines whether the current user can remove attachments or notes from the process modelbooleanDeprecated.booleanisView()Determines whether the current user can view the process modelbooleanDetermines whether the current user can view reports about the process modelvoidsetAddAttachment(boolean addAttachment_) voidsetArchive(boolean archive_) voidsetChangeRole(boolean changeRole_) voidsetDelete(boolean delete_) voidsetEditAndSave(boolean editAndSave_) voidsetInitiateProcess(boolean initiateProcess_) voidsetOverrideLock(boolean overrideLock_) voidsetPublish(boolean publish_) voidsetRemoveAttachment(boolean removeAttachment_) voidsetSimulate(boolean simulate_) Deprecated.voidsetView(boolean view_) voidsetViewReport(boolean viewReport_)
-
Constructor Details
-
ProcessModelPermissions
public ProcessModelPermissions()Construct a newProcessModelPermissionsobject. All properties will befalse -
ProcessModelPermissions
public ProcessModelPermissions(boolean default_) Construct a newProcessModelPermissionsobject with all properties set todefault_- Parameters:
default_-
-
-
Method Details
-
isAddAttachment
public boolean isAddAttachment()Determines whether the current user can add attachments or notes to the process model- Returns:
trueif the user can add attachments or notes to the process model, elsefalse
-
setAddAttachment
public void setAddAttachment(boolean addAttachment_) - See Also:
-
isArchive
public boolean isArchive()Determines whether the current user can archive process models- Returns:
trueif the user can archive process models, elsefalse
-
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:
trueif the user can change security settings on the process model, elsefalse- 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:
trueif the user can delete the process model, elsefalse- 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:
trueif the user can edit and save the process model, elsefalse
-
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:
trueif the user can start a process from the process model, elsefalse
-
setInitiateProcess
public void setInitiateProcess(boolean initiateProcess_) - See Also:
-
isPublish
public boolean isPublish()Determines whether the current user can start publish the process model- Returns:
trueif the user can publish the process model, elsefalse- 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:
trueif the user can remove attachments or notes from the process model, elsefalse
-
setRemoveAttachment
public void setRemoveAttachment(boolean removeAttachment_) - See Also:
-
isSimulate
Deprecated.Determines whether the current user can run simulations on the process model- Returns:
trueif the user can run simulations on the process model, elsefalse
-
setSimulate
Deprecated.- See Also:
-
isView
public boolean isView()Determines whether the current user can view the process model- Returns:
trueif the user can view the process model, elsefalse
-
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:
trueif the user can see reports about the process model, elsefalse
-
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:
trueif the user can override the lock on the process model, elsefalse- See Also:
-
setOverrideLock
public void setOverrideLock(boolean overrideLock_) - See Also:
-