public class ProcessModel extends AbstractProcessModel
Modifier and Type | Class and Description |
---|---|
static class |
ProcessModel.Descriptor
Inner class that holds the name, id, and description of a process model.
|
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 |
---|
ProcessModel() |
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.
|
java.lang.Long[] |
getDatatypeReferences()
Gets the list of data types referenced by this model.
|
ProcessModelLogging |
getLogging() |
ProcessNode[] |
getProcessNodes()
Gets the nodes that this model comprises.
|
ProcessVariable[] |
getVariables()
Gets the list of process variables used by this model.
|
void |
resetNodesUUIDsAndEventPersistentIds()
Resets the UUID of each node and the persistentId of each event in this
process model to
null , so that the database will generate
new UUIDs/ids the next time the process model is saved. |
void |
setDatatypeReferences(java.lang.Long[] datatypeReferences_)
Sets the data types referenced by this model.
|
void |
setLogging(ProcessModelLogging _logging) |
void |
setProcessNodes(ProcessNode[] processNodes_)
Sets the nodes that this model comprises.
|
void |
setVariables(ProcessVariable[] variables_)
Sets the process variables for this model.
|
void |
sortVariables() |
java.lang.String |
toString()
Generates a string representation of this model for debugging.
|
void |
updateFromDescriptor(ProcessModel.Descriptor src_) |
fillInAppianTypes, getAcSchemas, getAnnotations, getAttachments, getAutoArchiveDelay, getAutoDeleteDelay, getCleanupAction, getCreatorUsername, getDeadline, getDefaultProcessSecurity, getDescription, getEmailAttachmentFolderId, getFolderId, getFormConfig, getFormConfigMap, getGroupOwnerId, getHiddenAttributes, getIsPublic, getLanes, getLastModifiedUsername, getLatestVersion, getLockedBy, 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, setLockedBy, setLockedByTime, setModified, setMutablePriority, setNotes, setNtfSettings, setOwnerUsername, setPermissions, setPriority, setProcessName, setSchedules, setSecurity, setState, setTargetCompletion, setTimeStampCreated, setTimeStampUpdated, setTimeZoneId, setUseProcessInitiatorTimeZone, setUuid, setValidated, setVersion, setVersionStatus
public ProcessNode[] getProcessNodes()
public void setProcessNodes(ProcessNode[] processNodes_)
processNodes_
- an array of the nodes in this model.public ProcessVariable[] getVariables()
public void sortVariables()
public void setVariables(ProcessVariable[] variables_)
variables_
- the process variables used by this model.public void setDatatypeReferences(java.lang.Long[] datatypeReferences_)
datatypeReferences_
- the data types referenced by this model.public java.lang.Long[] getDatatypeReferences()
public ProcessModelLogging getLogging()
ProcessModelLogging
of this model.ProcessModelLogging
associated with this model.public void setLogging(ProcessModelLogging _logging)
_logging
- the ProcessModelLogging
used by this model.ProcessModelLogging
for this model. The log messages
are set by the system when this bean is returned. Calling this
method has no effect.public void fillInAppianTypes(AppianTypeCache appianCache_)
AbstractProcessModel
fillInAppianTypes
in interface AppianTypeHolder
fillInAppianTypes
in class AbstractProcessModel
appianCache_
- cache of Appian-typed objects.public void updateFromDescriptor(ProcessModel.Descriptor src_)
public java.lang.String toString()
toString
in class LocalizedIdentity
public void resetNodesUUIDsAndEventPersistentIds()
null
, so that the database will generate
new UUIDs/ids the next time the process model is saved.Copyright © 2003-2023 Appian Corporation. All Rights Reserved.