Uses of Interface
de.aristaflow.adept2.model.processmodel.Template
-
-
Uses of Template in de.aristaflow.adept2.core.changeoperations
Fields in de.aristaflow.adept2.core.changeoperations declared as Template Modifier and Type Field Description protected Template
NodeDependencyProvider. template
template determining the context for the dependency providerMethods in de.aristaflow.adept2.core.changeoperations with parameters of type Template Modifier and Type Method Description static boolean
UpdateNode. autoStartEnabled(Template template, Node node)
static boolean
UpdateNode. btnAutoStartEnabled(Template template, Node node, String nodeSAR, Map<String,Dependency> dependencies)
static Map<ActivityConstants.AccessType,Map<ProcessModelParameter,DataElement>>
ChangeOperationTools. createRandomisedParameterDataElementMappingForNewEBP(Template template, int nodeID, ExecutableBusinessProcess ebp)
Creates a mapping between the parameters of the given EBP and already existent data elements (where possible).static int
ChangeOperationTools. getClosestVisiblePred(Template template, int nodeId)
Gets the closest predecessor of the designated node that is not hidden.static int
ChangeOperationTools. getClosestVisibleSucc(Template template, int nodeId)
Gets the closest successor of the designated node that is not hidden.static Set<DataElement>
ChangeOperationTools. getCompliantConnectedDataElementsForParameter(ProcessModelParameter parameter, Template template, int nodeID, ActivityConstants.AccessType type)
Returns a set of compliant data elements for the given parameter which are connected to the given node (i.e there is a data edge between the node and the compliant data element) in the correct direction.static Set<DataElement>
ChangeOperationTools. getCompliantDataElements(Template templ, ProcessConstants.AdeptDataType type, UUID identifierID, boolean inclSysDes)
Returns the set of data elements, which are compatible to the given type and identifier for reading the data element.static Collection<DataElement>
ChangeOperationTools. getCompliantDataElements(Template templ, ProcessConstants.AdeptDataType type, UUID identifierID, int nodeId)
Gets the data elements that are compatible to the designated type and identifier for reading the data element.static Set<DataElement>
ChangeOperationTools. getCompliantUnConnectedDataElementsForParameter(ProcessModelParameter parameter, Template template, int nodeID, ActivityConstants.AccessType type)
Returns a set of compliant data elements for the given parameter which are not connected to the given node (i.e there is no data edge between the node and the compliant data element).static Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>>
ChangeOperationTools. getParameterDataElementMappingForAlreadyAssignedEBP(Template template, int nodeID)
Returns an already existent mapping between parameters and existent data elements.static Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>>
ChangeOperationTools. getParameterSystemValueMappingForAlreadyAssignedEBP(Template template, int nodeID)
Returns an already existent mapping between parameters and system values (e.g.static Set<Node>
ChangeOperationTools. getSavePredecessors(Template template, int nodeID)
Returns the set of nodes, which not null nodes and are predecessors of the given node and are executed on all circumstances (i.e. on all possible traces through the graph).static boolean
ToggleNodeVisibility. isInHiddenBlock(Template template, int nodeID)
Returns true if the node is in an invisible block of the template.static boolean
AddNodeSystemParameter. isPossible(Template template, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter)
Check if it is possible (concerning structural correctness) to add the given system parameter to the given node.static boolean
AddNodeSystemParameter. isPossible(Template template, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to add the given system parameter to the given node.static boolean
AddNodeSystemParameter. isPossible(Template template, int nodeId, Node node, ActivityConstants.AccessType type, ProcessModelParameter parameter, CheckReport checkReport)
Check whether it is possible (concerning structural correctness) to add the designated system parameter to the designated node.protected static boolean
AddSystemDataFlow. isPossible(Template template, int prodNodeId, SystemDataProducer systemDataType, int consNodeId, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to add a system data flow of the given type between the given nodes.static boolean
AddSystemDataFlow. isPossible(Template template, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName)
Check if it is possible (concerning structural correctness) to add a system data flow between the given nodes.static boolean
AddSystemDataFlow. isPossible(Template template, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to add a system data flow of the given type between the given nodes.static boolean
AssignEmptyEmbeddedSubprocess. isPossible(Template template, int nodeID)
Checks if the assignment of an empty embedded subprocess is valid (concerning structural correctness) for the given template.static boolean
AssignEmptyEmbeddedSubprocess. isPossible(Template template, int nodeID, CheckReport checkReport)
Checks if the assignment of an empty embedded subprocess is valid (concerning structural correctness) for the given template.static boolean
CopyNode. isPossible(Template sourceTemplate, Template targetTemplate, int nodeToCopyID, int predID, int succID)
Check if it is possible (concerning structural correctness) to copy the given node to the specified target position in the given template.static boolean
CopyNode. isPossible(Template sourceTemplate, Template targetTemplate, int nodeToCopyID, int predID, int succID, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to copy the given node to the specified target position in the given template.static boolean
CreateSurroundingBlock. isPossible(Template template, Node first, Node last, ProcessConstants.BlockType type)
Check if it is possible (concerning structural correctness) to create a block which surrounds the two given nodes in the given template.static boolean
CreateSurroundingBlock. isPossible(Template template, Node first, Node last, ProcessConstants.BlockType type, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to create a block which surrounds the two given nodes in the given template.static boolean
DeleteBorderNodes. isPossible(Template template, Node split, Node join)
Checks if it is possible (concerning structural correctness) to delete start and end nodes of the current block in the given template.static boolean
DeleteBorderNodes. isPossible(Template template, Node split, Node join, CheckReport checkReport)
Checks if it is possible (concerning structural correctness) to delete start and end nodes of the current block in the given template.static boolean
DeleteDataEdge. isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Check if it is possible (concerning structural correctness) to delete the data edge between the given node and the data element in the template.static boolean
DeleteDataEdge. isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to delete the data edge between the given node and the data element.static boolean
DeleteDataElement. isPossible(Template template, DataElement dataElement)
checks if it is valid (concerning structural correctness) to delete the given data element from the templatestatic boolean
DeleteDataElement. isPossible(Template template, DataElement dataElement, CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to delete the given data element from the template.static boolean
DeleteEmptyBranch. isPossible(Template template, Node split, Node join)
Checks if it is valid (concerning structural correctness) to delete the given branch from the template.static boolean
DeleteEmptyBranch. isPossible(Template template, Node split, Node join, CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to delete the given branch from the template.static boolean
DeleteNode. isPossible(Template template, Node node)
Checks if it is valid to delete the node (concerning structural aspects) from the given templatestatic boolean
DeleteNode. isPossible(Template template, Node node, CheckReport checkReport)
Checks if it is valid to delete the node (concerning structural aspects) from the given template.static boolean
InsertBetweenNodeSets. isPossible(Template template, List<Integer> preds, List<Integer> succs)
Check if it is possible (concerning structural correctness) to insert a node which is executed after the nodes given in preds and before the nodes given in succs in the given template.static boolean
InsertBetweenNodeSets. isPossible(Template template, List<Integer> preds, List<Integer> succs, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to insert a node which is executed after the nodes given in preds and before the nodes given in succs in the given template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement[] dataElements, ActivityConstants.AccessType type)
Check if it is possible (concerning structural correctness) to insert data edges of the given type between the given node and the data elements in the template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement[] dataElements, ActivityConstants.AccessType type, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to insert data edges of the given type between the given node and the data elements in the template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Check if it is possible (concerning structural correctness) to insert a data edge of the given type between the given node and the data element in the template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to insert a data edge of the given type between the given node and the data element in the template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement dataElement, String paramName, ActivityConstants.AccessType type)
Check if it is possible (concerning structural correctness) to connect the parameter of the given node with the given data element via a data edge of the given type in the template.static boolean
InsertDataEdge. isPossible(Template template, Node node, DataElement dataElement, String paramName, ActivityConstants.AccessType type, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to connect the parameter of the given node with the given data element via a data edge of the given type in the template.static boolean
InsertDataElement. isPossible(Template template)
Check if it is possible (concerning structural aspects) to insert a new data element in the template.static boolean
InsertDataElement. isPossible(Template template, DataElement dataElement)
Check if it is possible (concerning structural aspects) to insert a new data element given as a data element container object (without an id) in the template.static boolean
InsertDataElement. isPossible(Template template, DataElement dataElement, CheckReport checkReport)
Check if it is possible (concerning structural aspects) to insert a new data element given as a data element container object (without an id) in the template.static boolean
InsertDataElement. isPossible(Template template, CheckReport checkReport)
Check if it is possible to insert a new data element (concerning structural aspects) to insert a new data element in the template.static boolean
InsertEmptyBlock. isPossible(Template template, Node pred, Node succ)
Checks if it is possible (concerning structural correctness) to insert an empty block in the given template.static boolean
InsertEmptyBlock. isPossible(Template template, Node pred, Node succ, CheckReport checkReport)
Checks if it is possible (concerning structural correctness) to insert an empty block in the given template.static boolean
InsertEmptyBranch. isPossible(Template template, Node split, Node join)
Checks if it is possible (concerning structural correctness) to insert an empty branch between split and join in the template.static boolean
InsertEmptyBranch. isPossible(Template template, Node split, Node join, CheckReport checkReport)
Checks if it is possible (concerning structural correctness) to insert an empty branch between split and join in the template.static boolean
InsertNode. isPossible(Template template, Node pred, Node succ)
Check if it is possible (concerning structural correctness) to insert a node between the two given nodes in the given template.static boolean
InsertNode. isPossible(Template template, Node pred, Node succ, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to insert a node between the two given nodes in the given template.static boolean
MoveNodes. isPossible(Template template, Node first, Node last, Node pred, Node succ, CheckReport checkReport)
Check if it is possible (concerning structural aspects) to move the nodes between first and last to the position between pred and succ in the given template.static boolean
ReconnectDataEdge. isPossible(Template template, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param)
Check if it is possible to reconnect the given data edge (respectively the connected data element) to the given parameter in the template.static boolean
ReconnectDataEdge. isPossible(Template template, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param, CheckReport checkReport)
Check if it is possible to reconnect the given data edge (respectively the connected data element) to the given parameter in the template.static boolean
RemoveExecutableBusinessProcess. isPossible(Template template, Node node)
Checks if it is valid (concerning structural correctness) to remove/delete the EBP from the given node in the given template.static boolean
RemoveExecutableBusinessProcess. isPossible(Template template, Node node, CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to remove/delete the EBP from the given node in the given template.static boolean
RemoveNodeSystemParameter. isPossible(Template template, int nodeID, ActivityConstants.AccessType type, String parameterName)
Check if it is possible (concerning structural correctness) to remove the given system parameter from the given node.static boolean
RemoveNodeSystemParameter. isPossible(Template template, int nodeID, ActivityConstants.AccessType type, String parameterName, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to remove the given system parameter from the given node.static boolean
RemoveNodeSystemParameter. isPossible(Template templ, int nodeId, Node node, ActivityConstants.AccessType type, String paramName, CheckReport checkReport)
Gets whether it is possible (concerning structural correctness) to remove the designated system parameter from the designated node.static boolean
RemoveSystemDataFlow. isPossible(Template template, int nodeID, String inputParameterName)
Check if it is possible (concerning structural correctness) to remove the system data flow flow which is connected with the given parameter.static boolean
RemoveSystemDataFlow. isPossible(Template template, int nodeID, String inputParameterName, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to remove the system data flow which is connected with the given parameter.static boolean
SwapDataElementParameterConnections. isPossible(Template template, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2)
Check if it is possible (concerning structural correctness) to swap the parameter data element connections of the given data edges in the given template.static boolean
SwapDataElementParameterConnections. isPossible(Template template, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2, CheckReport checkReport)
Check if it is possible (concerning structural correctness) to swap the parameter data element connections of the given data edges in the given template.static boolean
ToggleNodeVisibility. isPossible(Template template, int nodeID, boolean hidden)
Checks if it is valid to change the visibility of a node in the template.static boolean
ToggleNodeVisibility. isPossible(Template template, int nodeID, boolean hidden, CheckReport checkReport)
/** Checks if it is valid to change the visibility of a node in the template.static boolean
ToggleSyncEdge. isPossible(Template template, Node pred, Node succ)
Check, if a sync edge between the given nodes is possible (concerning structural correctness).static boolean
ToggleSyncEdge. isPossible(Template template, Node pred, Node succ, CheckReport checkReport)
Check, if a sync edge between the given nodes is possible (concerning structural correctness) in the template.static boolean
UpdateDataEdge. isPossible(Template template, int nodeID, int dataElementID, ActivityConstants.AccessType type, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Checks if it is valid (concerning structural correctness) for the data edge (described by the given node ID and the given data element ID) to update the properties given bydataEdgeProperties
in the template.static boolean
UpdateDataEdge. isPossible(Template template, int nodeID, int dataElementID, ActivityConstants.AccessType type, CheckReport checkReport, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Checks if it is valid (concerning structural correctness) for the data edge (described by the given node ID and the given data element ID) to update the properties given bydataEdgeProperties
in the template.static boolean
UpdateDataElement. isPossible(Template template, DataElement dataElement, ProcessConstants.DataElementProperty... dataElementProperties)
Tests if it is valid (concerning structural correctness) to change the data element properties given bydataElementProperties
in the template.static boolean
UpdateDataElement. isPossible(Template template, DataElement dataElement, CheckReport checkReport, ProcessConstants.DataElementProperty... dataElementProperties)
Tests if it is valid (concerning structural correctness) to change the data element properties given bydataElementProperties
in the template.static boolean
UpdateExecutableBusinessProcess. isPossible(Template template, int nodeID, ExecutableBusinessProcess ebp, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural correctness) to change the executable business process properties given byebpProperties
in the template.static boolean
UpdateExecutableBusinessProcess. isPossible(Template template, int nodeID, ExecutableBusinessProcess ebp, CheckReport checkReport, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural correctness) to change the executable business process properties given byebpProperties
in the template.static boolean
UpdateNode. isPossible(Template template, Node node, ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural correctness) for the given node to update the properties given bynodeProperties
in the template.static boolean
UpdateNode. isPossible(Template template, Node node, CheckReport checkReport, ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural correctness) for the given node to update the properties given bynodeProperties
in the template.protected static boolean
UpdateNodeSystemDependency. isPossible(Template templ, ChangeableInstance inst, Node tempNode, Map<String,Dependency> bindings, ProcessConstants.NodeProperty nodeProp, CheckReport cr)
Gets whether updating the node system dependencies is possible for the designated template or the designated instance.static boolean
UpdateNodeSystemDependency. isPossible(Template template, Node tempNode, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
Checks if the parameter binding is valid (concerning structural correctness) for that property of the given container node which is referenced by the node propertynodeProperty
in the related template.static boolean
UpdateNodeSystemDependency. isPossible(Template template, Node tempNode, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, CheckReport checkReport)
Checks if the parameter binding is valid (concerning structural correctness) for that property of the given container node which is referenced by the node propertynodeProperty
in the related template.static boolean
UpdatePluginDataContainer. isPossible(Template template, PluginDataContainer pluginContainer, String extensionPointID, String pluginDataID, PluginData pluginData)
Checks if it is valid (concerning structural correctness) to update (add / remove) the plug in data for the Extension-Point given byextensionPoint
with the value given bypluginData
in the plug in data container given bypluginContainer
.static boolean
UpdatePluginDataContainer. isPossible(Template template, PluginDataContainer pluginContainer, String extensionPointID, String pluginDataID, PluginData pluginData, CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to update (add / remove) the plug in data for the Extension-Point given byextensionPoint
with the value given bypluginData
in the plug in data container given bypluginContainer
.static boolean
UpdateUserAttribute. isPossible(Template template, UserAttributeContainer attributeContainer, String name, String value)
Checks if it is valid (concerning structural correctness) to update the user attribute of UserAttributeContainer given byname
with the value given byvalue
in the template.static boolean
UpdateUserAttribute. isPossible(Template template, UserAttributeContainer attributeContainer, String name, String value, CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to update the user attribute of UserAttributeContainer given byname
with the value given byvalue
in the template.static boolean
AssignExecutableBusinessProcess. isPossibleId(Template template, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements)
Checks if the assignment of the EBP - especially the mappings in the given maps - are valid (concerning structural correctness) for the given template.static boolean
AssignExecutableBusinessProcess. isPossibleId(Template template, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, CheckReport checkReport)
Checks if the assignment of the EBP - especially the mappings in the given maps - are valid (concerning structural correctness) for the given template.static boolean
MoveNodes. isValidMoveBlock(Template template, Node first, Node last)
Checks if the block given by first and last is valid (concerning structural aspects) for a move operation on the given template.static boolean
MoveNodes. isValidMoveBlock(Template template, Node first, Node last, CheckReport checkReport)
Checks if the block given by first and last is valid (concerning structural aspects) for a move operation on the given template.static boolean
CopyNode. isValidNodeToCopy(Template template, int nodeToCopyID, CheckReport checkReport)
Checks if the given node is a node which can be copied (concerning structural aspects) in the given template.Constructors in de.aristaflow.adept2.core.changeoperations with parameters of type Template Constructor Description NodeDependencyProvider(Template template, int nodeID)
Constructs a newNodeDependencyProvider
for the specified process template and node.VolatileNodeDependencyProvider(Template template, int succNodeID)
Constructs a newVolatileNodeDependencyProvider
for the specified template and the/a node that will follow the node to be created. -
Uses of Template in de.aristaflow.adept2.core.checks.processmodel
Methods in de.aristaflow.adept2.core.checks.processmodel with parameters of type Template Modifier and Type Method Description boolean
AbstractProcessTemplateCheck. performCheck(Template template, NodeRelations relations, CheckReport checkReport)
boolean
CompositeProcessTemplateCheck. performCheck(Template template, NodeRelations relations, CheckReport checkReport)
boolean
ProcessTemplateCheck. performCheck(Template template, NodeRelations relations, CheckReport checkReport)
Performs the check on the given template.boolean
ProcessTemplateCheckRunner. performCheck(Template template, NodeRelations relations, CheckReport checkReport)
protected abstract void
AbstractProcessTemplateCheck. performCheckSpi(Template template, NodeRelations relations, CheckReport checkReport)
This is the method that must be implemented in subclasses and its purpose is to perform all required checks. -
Uses of Template in de.aristaflow.adept2.core.datamanager
Methods in de.aristaflow.adept2.core.datamanager with parameters of type Template Modifier and Type Method Description InstanceDataContainer
DataManager. createInstanceDataContainer(SessionToken session, Template template)
Creates an instance data container for the input (and output) parameters of the designated template. -
Uses of Template in de.aristaflow.adept2.core.processimagerenderer
Methods in de.aristaflow.adept2.core.processimagerenderer with parameters of type Template Modifier and Type Method Description ProcessImageData
ProcessImageRenderer. renderTemplate(SessionToken session, Template template, RenderOptions options)
Gets the designated process template as rendered image.ProcessImageData
SimpleProcessImageRenderer. renderTemplate(Template template, RenderOptions options)
Gets the designated process template as rendered image. -
Uses of Template in de.aristaflow.adept2.core.processmanager
Methods in de.aristaflow.adept2.core.processmanager that return Template Modifier and Type Method Description Template
TemplateManager. getTemplate(SessionToken session, UUID templateID)
Gets the designated process template conforming to the ADEPT2-process model.Methods in de.aristaflow.adept2.core.processmanager with parameters of type Template Modifier and Type Method Description CheckReport
TemplateManager. storeNewTemplate(SessionToken session, Template template, TemplateStatus templateStatus, Locale... locales)
Stores the designated template and the corresponding status object in the process manager.CheckReport
TemplateManager. storeNewTemplates(SessionToken session, Template[] templates, TemplateStatus[] templateStatuses, Locale... locales)
Stores the designated templates and the corresponding status objects in the process manager. -
Uses of Template in de.aristaflow.adept2.core.processrepository
Methods in de.aristaflow.adept2.core.processrepository that return Template Modifier and Type Method Description Template
ProcessTemplateManager. getTemplate(SessionToken session, UUID templateID)
Gets the designated process template without locking it.Methods in de.aristaflow.adept2.core.processrepository with parameters of type Template Modifier and Type Method Description CheckReport
ProcessTemplateManager. storeTemplate(SessionToken session, Template template, boolean checkValidity, Document history, TemplateDeltaLayer structuralChanges, Locale... locales)
Stores (but does not unlock) a modified template (which has been checked out for modification beforehand. -
Uses of Template in de.aristaflow.adept2.model.execution
Methods in de.aristaflow.adept2.model.execution with parameters of type Template Modifier and Type Method Description ExecutableInstance
ExecutionFactory. createExecutableInstance(UUID instanceID, UUID logID, String instanceName, UUID baseTemplateID, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference parentReference, long creationTime)
Creates a new executable instance without the need to specify all the details.ExecutableInstance
ExecutionFactory. createExecutableInstanceLwpIts(UUID instanceId, UUID logId, String instanceName, boolean modified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference parentReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,ProcessConstants.ExecutionMode> executionModes, Map<Integer,Integer> nodeIterations, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> nodePerformingAgents, Map<Integer,List<Enquiry>> currentEnquiries, Map<Integer,Enquiry> repliedEnquiries, URI[] instanceTerminationCallbackUris, Map<Integer,URI[]> runtimeManagerUris, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Creates an ExecutableInstance object.ExecutableInstance
ExecutionFactory. createExecutableInstanceLwpIts(UUID instanceId, UUID logId, String instanceName, boolean modified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference parentReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,ProcessConstants.ExecutionMode> executionModes, Map<Integer,Integer> nodeIterations, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> nodePerformingAgents, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Creates an ExecutableInstance object. -
Uses of Template in de.aristaflow.adept2.model.processmodel
Subinterfaces of Template in de.aristaflow.adept2.model.processmodel Modifier and Type Interface Description interface
ChangeableTemplate
interface
InstanceDeltaLayer
Classes in de.aristaflow.adept2.model.processmodel that implement Template Modifier and Type Class Description class
AbstractWrappingTemplate
Abstract implementation for wrapping a template object.class
IDWrappingTemplate
This class wraps an embedded template, so thatgetID()
returns the ID of the embedded process instead of the ID the original template had.Fields in de.aristaflow.adept2.model.processmodel declared as Template Modifier and Type Field Description protected Template
AbstractWrappingTemplate. template
The wrapped template.Methods in de.aristaflow.adept2.model.processmodel that return Template Modifier and Type Method Description Template
ProcessModelFactory. createNullTemplate(QualifiedAgent supervisorAgent)
Creates a null template using the underlaying implementation.Template
ProcessModelFactory. createTemplate(UUID id, String name, String description, ConfigurationDescription configurationDescription, Configuration configuration, Configuration testConfiguration, String processType, QualifiedAgent supervisorAgent, String version, Set<ProcessModelParameter> inputParameters, Set<ProcessModelParameter> outputParameters, TemplateDeltaLayer deltaLayer, Collection<Node> nodes, Collection<DataElement> dataElements, Set<StructuredEdge> edges, Set<StructuredDataEdge> dataEdges, Map<Integer,ProcessModelFactory.StructuralNodeData> structuralNodeData, Map<Integer,List<Integer>> nodeDisabledConnectors, int startNodeID, int endNodeID, String instanceNameTemplate, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Create a Template.Template
EmbeddedProcess. getTemplate()
Returns the template of the embedded process.Template
Instance. getTemplate()
Returns a reference to the template, which keeps the structural and element data (i.e. all non-instance-specific data).Methods in de.aristaflow.adept2.model.processmodel with parameters of type Template Modifier and Type Method Description EmbeddedProcess
ProcessModelFactory. createEmbeddedProcess(Template embeddedTemplate, UUID parentTemplateID, UUID ownInternalID, Configuration configuration, Configuration testConfiguration, ExecutionControlProperties executionControlProperties, PluginDataContainer pluginData, Map<String,String> userAttributes)
Creates an EmbeddedProcess object.Instance
ProcessModelFactory. createInstanceLwpIts(UUID id, UUID logId, String name, boolean isModified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference ebpInstanceReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,Integer> nodeIterations, Map<Integer,ProcessConstants.ExecutionMode> nodeExecutionModes, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> activityAgents, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Create an Instance.Constructors in de.aristaflow.adept2.model.processmodel with parameters of type Template Constructor Description AbstractWrappingTemplate(Template template)
Default constructor.IDWrappingTemplate(Template template, UUID templateID)
-
Uses of Template in de.aristaflow.adept2.model.processmodel.tools
Methods in de.aristaflow.adept2.model.processmodel.tools that return Template Modifier and Type Method Description static Template
ProcessModelTools. cloneTemplate(Template template, ProcessModelFactory factory)
Clones a given template using the given process model factory.Methods in de.aristaflow.adept2.model.processmodel.tools with parameters of type Template Modifier and Type Method Description static int[]
ProcessGraphPredicates. branchNodes(Template template, int nodeID1, int nodeID2)
Returns the branch nodes of the given nodes as array of length 2.static Set<Integer>
ProcessGraphPredicates. c_pred(Template template, int nodeID)
The direct predecessors of the given node following control edges only, as described in Reic00 page 333.static Set<Integer>
ProcessGraphPredicates. c_pred_trans(Template template, int nodeID)
Returns all direct and transitive predecessors, following control edges, cf.static Set<Integer>
ProcessGraphPredicates. c_succ(Template template, int nodeID)
The direct successors of the given node following control edges only, as described in Reic00 page 333.static Set<Integer>
ProcessGraphPredicates. c_succ_trans(Template template, int nodeID)
Returns all direct and transitive predecessors, following control edges, cf.static Template
ProcessModelTools. cloneTemplate(Template template, ProcessModelFactory factory)
Clones a given template using the given process model factory.static int
ProcessGraphPredicates. endloop(Template template, int startLoopID)
Returns the end loop node ID for a given start loop node ID.protected static Set<Integer>
ProcessModelTools. findNodes(int first, int last, boolean includeBlocks, Template template)
Find all nodes between start and end using the topological sortingprotected static Set<Integer>
ProcessModelTools. findNodesRecursive(int startID, int endID, Template template)
Recursively find all nodes between the start node and the end node, and return their IDs.protected static Set<Integer>
ProcessModelTools. findNodesSlow(int first, int last, boolean includeBlocks, Template template)
Find nodes the hard way, without relying on the topological sortingstatic int
ProcessGraphPredicates. findSplitNode(Template template, int nodeID)
Finds the split node of the given node, cf.static int
ProcessModelTools. getBranchEndNode(Template template, int splitNodeID, int branchID)
Returns the ID of the last node in the branch (given by its branchID), beginning after splitNode.static int
ProcessModelTools. getCommonSplitNode(Template template, int node1ID, int node2ID)
Returns the split node that both nodes have in common.static Set<Integer>
ProcessModelTools. getDataElementIDsByName(Template template, Set<String> names)
Returns the IDs of the data elements given by their names.static Pair<Set<UUID>,Set<UUID>>
ProcessModelTools. getDirectChildTemplateIDsFromDeltaLayer(Template current, Template originalTemplate, boolean embeddedOnly)
For a given instance specific template and its base template, this method will calculate the child templates that only occur in the base template or the instance specific template.static Map<UUID,Collection<Integer>>
ProcessModelTools. getDirectChildTemplateNodes(Template parent, boolean embeddedOnly)
Gets a map with all child templates (direct children only) of the designated parent template mapped to the corresponding node ID in the parent template.static Set<UUID>
ProcessModelTools. getDirectChildTemplates(Template parent, boolean embeddedOnly)
Deprecated.static List<Node>
ProcessModelTools. getEmbdTmplNodesFromDeltaLayer(Template current, Template originalTemplate)
Gets a list of all nodes of the designated template having embedded templates are not also direct embedded children of the designated original template.static int[]
ProcessModelTools. getNodesInArea(int first, int last, boolean includeBlocks, Template t, boolean inTransaction)
Find all nodes in an area.static List<Integer>
ProcessModelTools. getSplitNodes(Template template, int nodeID)
Trace the path from the given node to the start node of the template, and record all split nodes along the way.static String
ProcessModelTools. getSysReadParamNameFor(Node node, DataElement de, Template templ)
Gets the name for a system parameter reading (ActivityConstants.AccessType.SYSTEM_READ
the designated data element at the designated node in the designated template.static URI
ProcessElementIdentifierTools. getTemplateIdentifier(Template template, String symbolicNameOfAuthority)
Constructs the process element identifier URI for the given template.static Map<Integer,String>
ProcessModelTools. getWrittenDataElements(Template template, int nodeID)
Gets the IDs and the names of the data elements that are written by the designated node.static DataElement
ProcessModelTools. hasDataEdge(Template templ, Node node, Parameter param, ActivityConstants.AccessType at)
Gets the data element with a data edge from designated node for the designated parameter of the designated access type.static boolean
ProcessGraphPredicates. isBlockEnd(Template template, int nodeID)
A block end node, as it is defined in Reic00.static boolean
ProcessGraphPredicates. isBlockStart(Template template, int nodeID)
A block start node, as it is defined in Reic00.static boolean
ProcessModelTools. isDecisionDataElement(Template template, int dataElementID)
Returns true, if the given data element is a decision data element, ie.static boolean
ProcessModelTools. isInParallelBranch(Template template, int nodeID)
Gets whether the designated node is in a parallel branch (with respect to the designated template).static boolean
ProcessModelTools. isSystemDataElement(Template template, int dataElementID)
Returns true, if the data element with the given ID is a system data element, ie. it has system data access and no non-system data access.static int
ProcessGraphPredicates. join(Template template, int nodeID)
Finds the join node of a given split node.static Set<Integer>
ProcessGraphPredicates. joinNodes(Template template)
Returns all nodes which are join nodes, as defined in Reic00 having an enter behaviour of ALL_OF_ALL or ONE_OF_ALL.static Set<Integer>
ProcessGraphPredicates. loopBody(Template template, int startLoopID)
Returns all nodes in the body of a loop block.protected static boolean
NodeRelations. nodesAreOnDifferentBranchesOfSplit(Template template, int nodeID1, int nodeID2, int commonSplitNodeID)
Returns true, if the given nodes are on different branches relative to the given split node.static int[]
ProcessModelTools. nodesWithSyncEdgesInArea(Template template, int firstID, int lastID, boolean includingInnerSyncEdges)
Returns those nodes which are between first and last (including) and which do have sync-edges.static Set<Integer>
ProcessGraphPredicates. pred(Template template, int nodeID)
The direct predecessors of the given node, as described in Reic00 page 333.static Set<Integer>
ProcessGraphPredicates. pred_trans(Template template, int nodeID)
Returns all direct and transitive predecessors, following control and sync edges, cf.static int
ProcessGraphPredicates. split(Template template, int nodeID)
Finds the split node of a given join node.static Set<Integer>
ProcessGraphPredicates. splitNodes(Template template)
Returns all nodes which are split nodes, as defined in Reic00 having an exit behaviour of ALL_OF_ALL or ONE_OF_ALL.static Set<Integer>
ProcessGraphPredicates. succ(Template template, int nodeID)
The direct successors of the given node, as described in Reic00 page 333.static Set<Integer>
ProcessGraphPredicates. succ_trans(Template template, int nodeID)
Returns all direct and transitive successors, following control and sync edges, cf.Constructors in de.aristaflow.adept2.model.processmodel.tools with parameters of type Template Constructor Description InducedGraph(Template template, NodeRelations relations, LinkedList<Node> graphNodes)
Create an induced graph, using the given node relations, topological sorting and the graph nodes inducing the new graph.NodeRelations(Template template)
Create a new NodeRelations object for the given template.TopologicalNodeIdComparator(Template template)
Creates a comparator for node IDs ordering them by their topological ID. -
Uses of Template in de.aristaflow.adept2.model.processmodel.xml
Methods in de.aristaflow.adept2.model.processmodel.xml that return Template Modifier and Type Method Description Template
ProcessModelXMLImport. getTemplateFromDocument(Document document)
Creates a template using the given DOM document.Template
ProcessModelXMLImport. getTemplateFromFile(File file)
Reads a process template from the given file and determines the file type.Template
ProcessModelXMLImport. getTemplateFromStream(InputStream inputStream)
Reads a process template from an input stream.Methods in de.aristaflow.adept2.model.processmodel.xml with parameters of type Template Modifier and Type Method Description Document
ProcessModelXMLExport. getDocumentForTemplate(Template template)
Creates a DOM document from the template.Document
ProcessModelXMLExport. getDocumentForTemplateAndStatus(Template template, TemplateStatus templateStatus)
Returns The corresponding document for a given template and a given template status.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromDocument(ExecutionFactory executionFactory, Document document, Template template)
Creates an instance using the given DOM document.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file, Template template)
Reads a process instance from the given file and determines the file type.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromStream(ExecutionFactory executionFactory, InputStream stream, Template template)
Reads a process instance from the designated input stream.InputStream
ProcessModelXMLExport. getInputStreamForTemplate(Template template)
Returns The corresponding stream for a given templateInputStream
ProcessModelXMLExport. getInputStreamForTemplate(Template template, boolean intend)
Returns The corresponding stream for a given templateInputStream
ProcessModelXMLExport. getInputStreamForTemplateAndStatus(Template template, TemplateStatus templateStatus)
Returns The corresponding stream for a given template and a given template status.InputStream
ProcessModelXMLExport. getInputStreamForTemplateAndStatus(Template template, TemplateStatus templateStatus, boolean intend)
Returns The corresponding stream for a given template and a given template status.Instance
ProcessModelXMLImport. getInstanceFromDocument(Document document, Template template)
Creates an instance using the given DOM document.Instance
ProcessModelXMLImport. getInstanceFromFile(File file, Template template)
Reads a process instance from the given file and determines the file type.String
ProcessModelXMLExport. getXMLStringForTemplate(Template template)
Returns the xml code of a given template as string.String
ProcessModelXMLExport. getXMLStringForTemplate(Template template, boolean intend)
Returns the xml code of a given template as string.void
ProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure, boolean intend)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeTemplateAndStatusToFile(Template template, TemplateStatus templateStatus, File file)
Writes the given template including its status to the given file.void
ProcessModelXMLExport. writeTemplateAndStatusToFile(Template template, TemplateStatus templateStatus, File file, boolean intend)
Writes the given template including its status to the given file.void
ProcessModelXMLExport. writeTemplateToFile(Template template, File file)
Writes the given template to the given file.void
ProcessModelXMLExport. writeTemplateToFile(Template template, File file, boolean intend)
Writes the given template to the given file. -
Uses of Template in de.aristaflow.adept2.ui.processvisualisation.model
Methods in de.aristaflow.adept2.ui.processvisualisation.model with parameters of type Template Modifier and Type Method Description List<Integer>
ModelGlue. sortNodes(int[] nodes, Template t)
Sort a list of Nodes by their branch ID and return the sorted Collection as a new List. -
Uses of Template in de.aristaflow.adept2.ui.processvisualisation.widgets
Methods in de.aristaflow.adept2.ui.processvisualisation.widgets with parameters of type Template Modifier and Type Method Description List<Integer>
GraphFigureProvider. sortNodes(int[] nodes, Template t)
Sort a list of Nodes by their branch ID and return the sorted Collection as a new List. -
Uses of Template in de.aristaflow.adept2.ui.processvisualisation.widgets.bpmn
Methods in de.aristaflow.adept2.ui.processvisualisation.widgets.bpmn with parameters of type Template Modifier and Type Method Description List<Integer>
BPMNSymbols. sortNodes(int[] nodes, Template t)
-
Uses of Template in de.aristaflow.ilm.model.processmodel
Methods in de.aristaflow.ilm.model.processmodel that return Template Modifier and Type Method Description static Template
Transformation. fromIlm(ProcessModelFactory pmf, Template templ)
Methods in de.aristaflow.ilm.model.processmodel with parameters of type Template Modifier and Type Method Description static Instance
Transformation. fromIlm(ProcessModelFactory pmf, Instance inst, Template templ)
static Template
Transformation. toIlm(Template templ)
-