Interface TemplateProxy
- All Superinterfaces:
PluginDataContainer,TemplateReference,UserAttributeContainer
The lightweight representation of a process template for usage in the process
repository. It extends the normal
TemplateReference by methods for
accessing the parent and the child templates.- Author:
- Ulrich Kreher
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the IDs child templates of the referenced process template or an empty list in case of a leaf template.longGets the date (as long) when this template has been created.Gets the process managers, this template is deployed to.Gets the internal version of this template, that is, an encoded version number specifying the ancestors/descendants and siblings of a template.longGets the date (as long) when this template has been modified the last time.Gets the agent that currently has the lock on this template or null in case the template is not locked.Gets the IDs the parent template of this template or null if this is the root template of the corresponding process type.Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPluginsMethods inherited from interface de.aristaflow.adept2.model.processmodel.TemplateReference
areInstancesChangeable, areInstancesMigratableTo, getBuildtimeState, getDescription, getID, getInputParameters, getName, getOutputParameters, getProcessType, getSupervisorAgent, getUsageAsSubprocess, getVersion, isDerivable, isInstantiable, isOutdated, isTopLevelUsableMethods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Method Details
-
getParentTemplateID
UUID getParentTemplateID()Gets the IDs the parent template of this template or null if this is the root template of the corresponding process type.- Returns:
- The ID of the parent template of this template or null if this is the root template.
-
getChildTemplateIDs
Gets the IDs child templates of the referenced process template or an empty list in case of a leaf template. The list is ordered by creation time of the child templates.- Returns:
- The IDs of the child templates of this template or an empty list if this template is a leaf.
-
getDeployedProcessManagers
Gets the process managers, this template is deployed to. Each process manager is identified by an array of the URIs it can be contacted with. In case of an non-deployed template, this is an empty list.- Returns:
- The process managers, this template is deployed to.
-
getCreationTime
long getCreationTime()Gets the date (as long) when this template has been created.- Returns:
- The date (as long) when this template has been created.
-
getLastModificationTime
long getLastModificationTime()Gets the date (as long) when this template has been modified the last time.- Returns:
- The date (as long) when this template has been modified the last time.
-
getInternalVersion
String getInternalVersion()Gets the internal version of this template, that is, an encoded version number specifying the ancestors/descendants and siblings of a template.
The versioning scheme is based on Keller, A., Ullman, J.: "A Version Numbering Scheme with a Useful Lexicographical Order", ICDE, 1995.- Returns:
- The internal version of this template identifying the ancestors, descendants and siblings of this template.
-
getLockingAgent
QualifiedAgent getLockingAgent()Gets the agent that currently has the lock on this template or null in case the template is not locked.- Returns:
nullin case this template is not locked otherwise the corresponding agent currently locking the template.
-