Interface ChangeableTemplate
-
- All Superinterfaces:
ChangePrimitives
,LocalisedString
,PluginDataContainer
,Serializable
,Template
,UserAttributeContainer
public interface ChangeableTemplate extends ChangePrimitives, Template
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
Generated ID for serialisation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setDescription(String description)
Set the description of the process.void
setInstanceNameTemplate(String instanceNameTemplate)
Set the pattern for an instance name of the process.void
setProcessType(String processType)
Sets the process type of the template.void
setVersion(String version)
Sets the process version of the template.void
updateID(UUID newID)
Updates the ID of the template.-
Methods inherited from interface de.aristaflow.adept2.model.processmodel.ChangePrimitives
addDataEdge, addDataEdge, addDataElement, addDisabledConnector, addEdge, addMovedNode, addNode, endTransaction, reMapDataElement, removeDataEdge, removeDataElement, removeDisabledConnector, removeEdge, removeNode, removeUserAttribute, setBranchID, setCorrespondingBlockNode, setInputParameters, setName, setNodeType, setOutputParameters, setSplitNodeID, setSupervisorAgent, startTransaction, updateDataEdge, updateDataElement, updateEdge, updateExecutableBusinessProcess, updateNode, updatePluginDataContainer, updateUserAttribute
-
Methods inherited from interface de.aristaflow.adept2.model.common.i18n.LocalisedString
toLocalisedString
-
Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPlugins
-
Methods inherited from interface de.aristaflow.adept2.model.processmodel.Template
getConfiguration, getConfigurationDescription, getConnector, getDataEdge, getDataEdgeStructure, getDataElement, getDataElement, getDataElements, getDataElementsForNode, getDeltaLayer, getDescription, getDisabledConnectors, getEdge, getEdgeStructure, getEndNode, getID, getInstanceNameTemplate, getMinBlock, getName, getNode, getNodeBranchID, getNodeCorrespondingBlockNodeID, getNodeIDForTopologicalID, getNodeIDsInArea, getNodeIDsWithActivityTemplate, getNodes, getNodesForDataElement, getNodeSplitNodeID, getNodeTopologicalID, getNodeType, getParameters, getPredByEdgeType, getProcessType, getStartNode, getSuccByEdgeType, getSupervisorAgent, getTestConfiguration, getUnconnectedConnectors, getVersion, isTransPredOf
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Generated ID for serialisation.- See Also:
- Constant Field Values
-
-
Method Detail
-
updateID
void updateID(UUID newID)
Updates the ID of the template. This has to be called by the component which either commits the changed template to the back-end or initialises a new version. This may e.g. be the process repository inProcessTemplateManager.deriveNewChildTemplate(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID)
or the process template editor while working on a local file.- Parameters:
newID
-
-
setDescription
void setDescription(String description)
Set the description of the process.- Parameters:
description
- The description of the process.
-
setInstanceNameTemplate
void setInstanceNameTemplate(String instanceNameTemplate)
Set the pattern for an instance name of the process.- Parameters:
instanceNameTemplate
- The pattern for the instance name.
-
setProcessType
void setProcessType(String processType)
Sets the process type of the template.- Parameters:
processType
- the process type of the template
-
setVersion
void setVersion(String version)
Sets the process version of the template.- Parameters:
version
- the process version of the template
-
-