public class ProcessModelPermissions
extends java.lang.Object
implements com.appiancorp.process.security.Permissions
ProcessModel
,
Serialized FormConstructor and Description |
---|
ProcessModelPermissions()
Construct a new
ProcessModelPermissions object. |
ProcessModelPermissions(boolean default_)
Construct a new
ProcessModelPermissions object with all
properties set to default_ |
Modifier and Type | Method and Description |
---|---|
boolean |
isAddAttachment()
Determines whether the current user can add attachments or notes to the
process model
|
boolean |
isArchive()
Determines whether the current user can archive process models
|
boolean |
isChangeRole()
Determines whether the current user can change security settings on
the process model
|
boolean |
isDelete()
Determines whether the current user can delete the process model
|
boolean |
isEditAndSave()
Determines whether the current user can edit and save the process model
|
boolean |
isInitiateProcess()
Determines whether the current user can start processes from the process
model
|
boolean |
isOverrideLock()
Determines whether the current user can override the lock on the process
model, if any exists
|
boolean |
isPublish()
Determines whether the current user can start publish the process model
|
boolean |
isRemoveAttachment()
Determines whether the current user can remove attachments or notes from
the process model
|
boolean |
isSimulate()
Deprecated.
|
boolean |
isView()
Determines whether the current user can view the process model
|
boolean |
isViewReport()
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_) |
public ProcessModelPermissions()
ProcessModelPermissions
object. All
properties will be false
public ProcessModelPermissions(boolean default_)
ProcessModelPermissions
object with all
properties set to default_
default_
- public boolean isAddAttachment()
true
if the user can add attachments or notes to the
process model, else false
public void setAddAttachment(boolean addAttachment_)
isAddAttachment()
public boolean isArchive()
true
if the user can archive process models, else
false
public void setArchive(boolean archive_)
isArchive()
public boolean isChangeRole()
true
if the user can change security settings on
the process model, else false
ProcessDesignService.setActorsInRolesForProcessModel(Long, String[], String[][], Long[], String[][])
public void setChangeRole(boolean changeRole_)
isChangeRole()
public boolean isDelete()
true
if the user can delete the process model, else
false
ProcessDesignService.deleteProcessModel(java.lang.Long)
public void setDelete(boolean delete_)
isDelete()
public boolean isEditAndSave()
true
if the user can edit and save the process
model, else false
public void setEditAndSave(boolean editAndSave_)
isEditAndSave()
public boolean isInitiateProcess()
true
if the user can start a process from the
process model, else false
public void setInitiateProcess(boolean initiateProcess_)
isInitiateProcess()
public boolean isPublish()
true
if the user can publish the process model,
else false
ProcessDesignService.publishProcessModel(com.appiancorp.suiteapi.process.ProcessModel)
public void setPublish(boolean publish_)
isPublish()
public boolean isRemoveAttachment()
true
if the user can remove attachments or notes from
the process model, else false
public void setRemoveAttachment(boolean removeAttachment_)
isRemoveAttachment()
@Deprecated public boolean isSimulate()
true
if the user can run simulations on the
process model, else false
@Deprecated public void setSimulate(boolean simulate_)
isSimulate()
public boolean isView()
true
if the user can view the process model, else
false
public void setView(boolean view_)
isView()
public boolean isViewReport()
true
if the user can see reports about the process
model, else false
public void setViewReport(boolean viewReport_)
isView()
public boolean isOverrideLock()
true
if the user can override the lock on the
process model, else false
ProcessDesignService.unlockProcessModel(Long, boolean)
public void setOverrideLock(boolean overrideLock_)
isOverrideLock()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.