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
ConstructorDescriptionConstruct a newProcessModelPermissions
object.ProcessModelPermissions
(boolean default_) Construct a newProcessModelPermissions
object with all properties set todefault_
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the current user can add attachments or notes to the process modelboolean
Determines whether the current user can archive process modelsboolean
Determines whether the current user can change security settings on the process modelboolean
isDelete()
Determines whether the current user can delete the process modelboolean
Determines whether the current user can edit and save the process modelboolean
Determines whether the current user can start processes from the process modelboolean
Determines whether the current user can override the lock on the process model, if any existsboolean
Determines whether the current user can start publish the process modelboolean
Determines whether the current user can remove attachments or notes from the process modelboolean
Deprecated.boolean
isView()
Determines whether the current user can view the process modelboolean
Determines whether the current user can view reports about the process modelvoid
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_)
-
Constructor Details
-
ProcessModelPermissions
public ProcessModelPermissions()Construct a newProcessModelPermissions
object. All properties will befalse
-
ProcessModelPermissions
public ProcessModelPermissions(boolean default_) Construct a newProcessModelPermissions
object 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if 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:
true
if the user can override the lock on the process model, elsefalse
- See Also:
-
setOverrideLock
public void setOverrideLock(boolean overrideLock_) - See Also:
-