public class ProcessDiagram extends AbstractProcessModel
ProcessModel
. The nodes in
the diagram represent the tasks in the process. The diagram can be
used to make in-flight modifications.AUTO_ARCHIVE, AUTO_DELETE, DEFAULT_COMPLETION, LATEST_PUBLISHED_VERSION, NO_CLEANUP, RESULT_CODE_INVALID, RESULT_CODE_NO_PERM_PUBLISH, RESULT_CODE_SUCCESS, STATUS_DRAFT, STATUS_PUBLISHED, STATUS_VERSION, SYS_AUTOARCHIVE, SYS_AUTOARCHIVE_DELAY, SYSTEM_DEFAULT
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
ProcessDiagram() |
Modifier and Type | Method and Description |
---|---|
void |
fillInAppianTypes(AppianTypeCache appianCache_)
Adds the primary keys of the Appian-typed objects maintained by the
elements in the given array to the cache.
|
ProcessSummary[] |
getChildProcesses()
Gets the child processes of this process, if this process contains sub or
linked processes;
null otherwise. |
java.lang.String |
getLockedBy()
Gets the user who has this process locked.
|
java.sql.Timestamp |
getLockedTime()
Gets the time at which the process was most recently locked.
|
ProcessSummary[] |
getParentProcesses()
Gets the parent processes of this process, if this process is a sub or
linked process;
null otherwise. |
java.lang.Long |
getProcessId()
Gets the id of the process whose diagram is represented.
|
RuntimeProcessNode[] |
getProcessNodes()
Gets the nodes of the process whose diagram is featured here.
|
ProcessPermissions |
getProcessPermissions()
Gets the permissions associated to the process instance
represented by this process diagram
|
java.lang.String |
getRuntimeProcessName()
Gets the runtime name of this process, as generated by the process
execution engine.
|
RuntimeProcessNode[] |
getRuntimeProcessNodes()
Deprecated.
use getProcessNodes
|
java.lang.Integer |
getStatus()
Gets the status of the process whose diagram is featured here.
|
ProcessVariableInstance[] |
getVariableInstances()
Deprecated.
use getVariables
|
ProcessVariableInstance[] |
getVariables()
Gets the process variables of the process whose diagram is featured here.
|
void |
setChildProcesses(ProcessSummary[] childProcesses_)
Sets the child processes of this process, if this process contains sub or
linked processes;
null otherwise. |
void |
setLockedBy(java.lang.String processLockedBy_)
Sets the user who has this process locked.
|
void |
setLockedTime(java.sql.Timestamp processLockedTime_)
Sets the time at which the process was most recently locked.
|
void |
setParentProcesses(ProcessSummary[] parentProcesses_)
Sets the parent processes of this process, if this process is a sub or
linked process;
null otherwise. |
void |
setProcessId(java.lang.Long id_)
Sets the id of the process whose diagram is represented.
|
void |
setProcessNodes(RuntimeProcessNode[] processNodes_)
Sets the nodes of the process whose diagram is featured here.
|
void |
setProcessPermissions(ProcessPermissions processPermissions_)
Sets the permissions associated to the process instance
represented by this process diagram
|
void |
setRuntimeProcessName(java.lang.String runtimeProcessName_)
Sets the runtime name of this process.
|
void |
setRuntimeProcessNodes(RuntimeProcessNode[] processNodes_) |
void |
setStatus(java.lang.Integer status_)
Sets the status of the process whose diagram is featured here.
|
void |
setVariableInstances(ProcessVariableInstance[] variables_)
Deprecated.
use setVariables
|
void |
setVariables(ProcessVariableInstance[] variables_)
Sets the process variables of the process whose diagram is featured here.
|
fillInAppianTypes, getAcSchemas, getAnnotations, getAttachments, getAutoArchiveDelay, getAutoDeleteDelay, getCleanupAction, getCreatorUsername, getDeadline, getDefaultProcessSecurity, getDescription, getEmailAttachmentFolderId, getFolderId, getFormConfig, getFormConfigMap, getGroupOwnerId, getHiddenAttributes, getIsPublic, getLanes, getLastModifiedUsername, getLatestVersion, getLockedByTime, getNotes, getNotesWithContent, getNtfSettings, getOwnerUsername, getPermissions, getPriority, getProcessName, getSchedules, getSecurity, getState, getTargetCompletion, getTimeStampCreated, getTimeStampUpdated, getTimeZoneId, getUuid, getVersion, getVersionStatus, isEnabled, isModified, isMutablePriority, isUseProcessInitiatorTimeZone, isValidated, setAcSchemas, setAnnotations, setAttachments, setAutoArchiveDelay, setAutoDeleteDelay, setCleanupAction, setCreatorUsername, setDeadline, setDefaultProcessSecurity, setDescription, setEmailAttachmentFolderId, setEnabled, setFolderId, setFormConfigMap, setGroupOwnerId, setIsPublic, setLanes, setLastModifiedUsername, setLatestVersion, setLockedByTime, setModified, setMutablePriority, setNotes, setNtfSettings, setOwnerUsername, setPermissions, setPriority, setProcessName, setSchedules, setSecurity, setState, setTargetCompletion, setTimeStampCreated, setTimeStampUpdated, setTimeZoneId, setUseProcessInitiatorTimeZone, setUuid, setValidated, setVersion, setVersionStatus
public ProcessSummary[] getChildProcesses()
null
otherwise. Used for breadcrumbs for
child processes in the interface; Only contains processes that the user
can see.public void setChildProcesses(ProcessSummary[] childProcesses_)
null
otherwise. Used for breadcrumbs for
child processes in the interface; Only contains processes that the user
can see.childProcesses_
- summaries of the child processes.public ProcessSummary[] getParentProcesses()
null
otherwise. Used for breadcrumbs to
parent processes in the interface. Only contains processes that the user
can see.public void setParentProcesses(ProcessSummary[] parentProcesses_)
null
otherwise. Used for breadcrumbs to
parent processes in the interface. Only contains processes that the user
can see.parentProcesses_
- summaries of the parent processes.public java.lang.Long getProcessId()
public void setProcessId(java.lang.Long id_)
id_
- the id of the process whose diagram is represented.public RuntimeProcessNode[] getRuntimeProcessNodes()
public RuntimeProcessNode[] getProcessNodes()
public void setProcessNodes(RuntimeProcessNode[] processNodes_)
processNodes_
- the nodes of the process whose diagram
is featured here.public void setRuntimeProcessNodes(RuntimeProcessNode[] processNodes_)
public ProcessVariableInstance[] getVariableInstances()
public void setVariableInstances(ProcessVariableInstance[] variables_)
variables_
- the process variables of the process whose diagram is
featured here.public ProcessVariableInstance[] getVariables()
public void setVariables(ProcessVariableInstance[] variables_)
variables_
- the process variables of the process whose diagram is
featured here.public java.lang.String getLockedBy()
getLockedBy
in class AbstractProcessModel
null
if the process is not locked.public void setLockedBy(java.lang.String processLockedBy_)
setLockedBy
in class AbstractProcessModel
processLockedBy_
- the username of the user who has this process
locked, or null
if the process is not locked.public java.sql.Timestamp getLockedTime()
null
if the process is not currently locked.public void setLockedTime(java.sql.Timestamp processLockedTime_)
processLockedTime_
- the time at which the process was most recently locked,
or null
if the process is not currently locked.public java.lang.Integer getStatus()
STATUS_XXX
constants from
ProcessModel
.public void setStatus(java.lang.Integer status_)
status_
- one of the STATUS_XXX
constants from
ProcessModel
.public ProcessPermissions getProcessPermissions()
public void setProcessPermissions(ProcessPermissions processPermissions_)
processPermissions_
- The processPermissions to set.public void fillInAppianTypes(AppianTypeCache appianCache_)
AbstractProcessModel
fillInAppianTypes
in interface AppianTypeHolder
fillInAppianTypes
in class AbstractProcessModel
appianCache_
- cache of Appian-typed objects.public java.lang.String getRuntimeProcessName()
public void setRuntimeProcessName(java.lang.String runtimeProcessName_)
runtimeProcessName_
- The runtime name of this process to set.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.