| Package | Description |
|---|---|
| de.aristaflow.adept2.core.changeoperations | |
| de.aristaflow.adept2.core.checks.processmodel | |
| de.aristaflow.adept2.core.datamanager | |
| de.aristaflow.adept2.core.processimagerenderer | |
| de.aristaflow.adept2.core.processmanager | |
| de.aristaflow.adept2.core.processrepository | |
| de.aristaflow.adept2.model.execution | |
| de.aristaflow.adept2.model.processmodel |
Warning: This package description is OUTDATED (work in progress)!!
|
| de.aristaflow.adept2.model.processmodel.tools | |
| de.aristaflow.adept2.model.processmodel.xml |
The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.
|
| Modifier and Type | Field and Description |
|---|---|
protected Template |
NodeDependencyProvider.template
template determining the context for the dependency provider
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
UpdateNode.autoStartEnabled(Template template,
Node node) |
static boolean |
UpdateNode.btnAutoStartEnabled(Template template,
Node node,
java.lang.String nodeSAR,
java.util.Map<java.lang.String,Dependency> dependencies) |
static java.util.Map<ActivityConstants.AccessType,java.util.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 java.util.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 java.util.Set<DataElement> |
ChangeOperationTools.getCompliantDataElements(Template template,
ProcessConstants.AdeptDataType type,
java.util.UUID identifierID,
boolean includingSystemDataElements)
Returns the set of data elements, which are compatible to the given type
and identifier for reading the data element.
|
static java.util.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 java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,java.lang.Integer>> |
ChangeOperationTools.getParameterDataElementMappingForAlreadyAssignedEBP(Template template,
int nodeID)
Returns an already existent mapping between parameters and existent data
elements.
|
static java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,ProcessConstants.DataMappingType>> |
ChangeOperationTools.getParameterSystemValueMappingForAlreadyAssignedEBP(Template template,
int nodeID)
Returns an already existent mapping between parameters and system values
(e.g.
|
static java.util.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 |
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,
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 |
DeleteDataElement.isPossible(Template template,
DataElement dataElement)
checks if it is valid (concerning structural correctness) to delete the
given data element from 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 |
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 |
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 |
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 by
dataElementProperties 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 by
dataElementProperties in the
template. |
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 |
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 |
RemoveNodeSystemParameter.isPossible(Template template,
int nodeID,
ActivityConstants.AccessType type,
java.lang.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,
java.lang.String parameterName,
CheckReport checkReport)
Check if it is possible (concerning structural correctness) to remove the given
system parameter from the given node.
|
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 |
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 |
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 by
ebpProperties
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 by
ebpProperties 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 by
dataEdgeProperties 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 by
dataEdgeProperties in the template. |
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 |
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 |
RemoveSystemDataFlow.isPossible(Template template,
int nodeID,
java.lang.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,
java.lang.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.
|
protected static boolean |
AddSystemDataFlow.isPossible(Template template,
int producerNodeID,
SystemDataProducer systemDataType,
int consumerNodeID,
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,
java.lang.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,
java.lang.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 |
InsertBetweenNodeSets.isPossible(Template template,
java.util.List<java.lang.Integer> preds,
java.util.List<java.lang.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,
java.util.List<java.lang.Integer> preds,
java.util.List<java.lang.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 |
DeleteNode.isPossible(Template template,
Node node)
Checks if it is valid to delete the node (concerning structural aspects)
from the given 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 |
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 |
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 |
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 by
nodeProperties in the
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 |
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 |
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 |
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 |
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,
java.lang.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,
java.lang.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 |
UpdateNodeSystemDependency.isPossible(Template template,
Node tempNode,
java.util.Map<java.lang.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 property
nodeProperty in the related
template. |
static boolean |
UpdateNodeSystemDependency.isPossible(Template template,
Node tempNode,
java.util.Map<java.lang.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 property
nodeProperty in the related
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 |
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 |
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 |
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 |
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 |
ToggleSyncEdge.isPossible(Template template,
Node pred,
Node succ)
Check, if a sync edge between the given nodes is possible (concerning
structural correctness).
|
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 |
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 |
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,
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,
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 |
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 |
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 |
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 |
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 by
nodeProperties in the
template. |
static boolean |
UpdatePluginDataContainer.isPossible(Template template,
PluginDataContainer pluginContainer,
java.lang.String extensionPointID,
java.lang.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 by
extensionPoint with the value given by
pluginData in the plug in data container given by
pluginContainer. |
static boolean |
UpdatePluginDataContainer.isPossible(Template template,
PluginDataContainer pluginContainer,
java.lang.String extensionPointID,
java.lang.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 by
extensionPoint with the value given by
pluginData in the plug in data container given by
pluginContainer. |
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 |
UpdateUserAttribute.isPossible(Template template,
UserAttributeContainer attributeContainer,
java.lang.String name,
java.lang.String value)
Checks if it is valid (concerning structural correctness) to update the
user attribute of UserAttributeContainer given by
name with
the value given by value in the template. |
static boolean |
UpdateUserAttribute.isPossible(Template template,
UserAttributeContainer attributeContainer,
java.lang.String name,
java.lang.String value,
CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to update the
user attribute of UserAttributeContainer given by
name with
the value given by value in the template. |
static boolean |
AssignExecutableBusinessProcess.isPossibleId(Template template,
Node node,
ExecutableBusinessProcess ebp,
java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements,
java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,java.lang.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,
java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements,
java.util.Map<ActivityConstants.AccessType,java.util.Map<ProcessModelParameter,java.lang.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.
|
| Constructor and Description |
|---|
NodeDependencyProvider(Template template,
int nodeID)
Constructs a new
NodeDependencyProvider for the specified
process template and node. |
VolatileNodeDependencyProvider(Template template,
int succNodeID)
Constructs a new
VolatileNodeDependencyProvider for the specified
template and the/a node that will follow the node to be created. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceDataContainer |
DataManager.createInstanceDataContainer(SessionToken session,
Template template)
Creates an instance data container for the input (and output) parameters of
the designated template.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessImageData |
ProcessImageRenderer.renderTemplate(SessionToken session,
Template template,
RenderOptions options)
Gets the designated process template as rendered image.
|
| Modifier and Type | Method and Description |
|---|---|
Template |
TemplateManager.getTemplate(SessionToken session,
java.util.UUID templateID)
Gets the designated process template conforming to the ADEPT2-process
model.
|
| Modifier and Type | Method and Description |
|---|---|
CheckReport |
TemplateManager.storeNewTemplate(SessionToken session,
Template template,
TemplateStatus templateStatus,
java.util.Locale... locales)
Stores the designated template and the corresponding status object in the process manager.
|
CheckReport |
TemplateManager.storeNewTemplates(SessionToken session,
Template[] templates,
TemplateStatus[] templateStatuses,
java.util.Locale... locales)
Stores the designated templates and the corresponding status objects in the process manager.
|
| Modifier and Type | Method and Description |
|---|---|
Template |
ProcessTemplateManager.getTemplate(SessionToken session,
java.util.UUID templateID)
Gets the designated process template without locking it.
|
| Modifier and Type | Method and Description |
|---|---|
CheckReport |
ProcessTemplateManager.storeTemplate(SessionToken session,
Template template,
boolean checkValidity,
org.w3c.dom.Document history,
TemplateDeltaLayer structuralChanges,
java.util.Locale... locales)
Stores (but does not unlock) a modified template (which has been checked out for modification
beforehand.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackURIs,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerURIs,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
java.util.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(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackUris,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerUris,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
ExecutableInstance |
ExecutionFactory.createExecutableInstanceLwpIts(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChangeableTemplate |
interface |
InstanceDeltaLayer |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractWrappingTemplate
Abstract implementation for wrapping a template object.
|
class |
IDWrappingTemplate
This class wraps an embedded template, so that
getID()
returns the ID of the embedded process instead of the ID the original
template had. |
| Modifier and Type | Field and Description |
|---|---|
protected Template |
AbstractWrappingTemplate.template
The wrapped template.
|
| Modifier and Type | Method and Description |
|---|---|
Template |
ProcessModelFactory.createNullTemplate(QualifiedAgent supervisorAgent)
Creates a null template using the underlaying implementation.
|
Template |
ProcessModelFactory.createTemplate(java.util.UUID id,
java.lang.String name,
java.lang.String description,
ConfigurationDescription configurationDescription,
Configuration configuration,
Configuration testConfiguration,
java.lang.String processType,
QualifiedAgent supervisorAgent,
java.lang.String version,
java.util.Set<ProcessModelParameter> inputParameters,
java.util.Set<ProcessModelParameter> outputParameters,
TemplateDeltaLayer deltaLayer,
java.util.Collection<Node> nodes,
java.util.Collection<DataElement> dataElements,
java.util.Set<StructuredEdge> edges,
java.util.Set<StructuredDataEdge> dataEdges,
java.util.Map<java.lang.Integer,ProcessModelFactory.StructuralNodeData> structuralNodeData,
java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> nodeDisabledConnectors,
int startNodeID,
int endNodeID,
java.lang.String instanceNameTemplate,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.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).
|
| Modifier and Type | Method and Description |
|---|---|
EmbeddedProcess |
ProcessModelFactory.createEmbeddedProcess(Template embeddedTemplate,
java.util.UUID parentTemplateID,
java.util.UUID ownInternalID,
Configuration configuration,
Configuration testConfiguration,
ExecutionControlProperties executionControlProperties,
PluginDataContainer pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an EmbeddedProcess object.
|
Instance |
ProcessModelFactory.createInstance(java.util.UUID id,
java.util.UUID logID,
java.lang.String name,
boolean isModified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference ebpInstanceReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> nodeExecutionModes,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> activityAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
Instance |
ProcessModelFactory.createInstanceLwpIts(java.util.UUID id,
java.util.UUID logId,
java.lang.String name,
boolean isModified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference ebpInstanceReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> nodeExecutionModes,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> activityAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Create an Instance.
|
| Constructor and Description |
|---|
AbstractWrappingTemplate(Template template)
Default constructor.
|
IDWrappingTemplate(Template template,
java.util.UUID templateID) |
| Modifier and Type | Method and Description |
|---|---|
static Template |
ProcessModelTools.cloneTemplate(Template template,
ProcessModelFactory factory)
Clones a given template using the given process model factory.
|
| Modifier and Type | Method and 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 java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.c_pred_trans(Template template,
int nodeID)
Returns all direct and transitive predecessors, following control
edges, cf.
|
static java.util.Set<java.lang.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 java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.c_succ_trans(Template template,
int nodeID)
Returns all direct and transitive predecessors, following control
edges, cf.
|
static java.util.Set<java.lang.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 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 java.util.Set<java.lang.Integer> |
ProcessModelTools.findNodes(int first,
int last,
boolean includeBlocks,
Template template)
Find all nodes between start and end using the topological sorting
|
protected static java.util.Set<java.lang.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 java.util.Set<java.lang.Integer> |
ProcessModelTools.findNodesSlow(int first,
int last,
boolean includeBlocks,
Template template)
Find nodes the hard way, without relying on the topological sorting
|
static 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 java.util.Set<java.lang.Integer> |
ProcessModelTools.getDataElementIDsByName(Template template,
java.util.Set<java.lang.String> names)
Returns the IDs of the data elements given by their names.
|
static Pair<java.util.Set<java.util.UUID>,java.util.Set<java.util.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 java.util.Set<java.util.UUID> |
ProcessModelTools.getDirectChildTemplates(Template parent,
boolean embeddedOnly)
Gets a set of all child templates (direct children only) of the designated
parent template which may be restricted to embedded child templates.
|
static java.util.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 java.util.List<java.lang.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 java.net.URI |
ProcessElementIdentifierTools.getTemplateIdentifier(Template template,
java.lang.String symbolicNameOfAuthority)
Constructs the process element identifier URI for the given template.
|
static java.util.Map<java.lang.Integer,java.lang.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 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 java.util.Set<java.lang.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 java.util.Set<java.lang.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 java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.pred_trans(Template template,
int nodeID)
Returns all direct and transitive predecessors, following control
and sync edges, cf.
|
static java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.pred(Template template,
int nodeID)
The direct predecessors of the given node, as described in Reic00
page 333.
|
static int |
ProcessGraphPredicates.split(Template template,
int nodeID)
Finds the split node of a given join node.
|
static java.util.Set<java.lang.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 java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.succ_trans(Template template,
int nodeID)
Returns all direct and transitive successors, following control
and sync edges, cf.
|
static java.util.Set<java.lang.Integer> |
ProcessGraphPredicates.succ(Template template,
int nodeID)
The direct successors of the given node, as described in Reic00
page 333.
|
| Constructor and Description |
|---|
InducedGraph(Template template,
NodeRelations relations,
java.util.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.
|
| Modifier and Type | Method and Description |
|---|---|
Template |
ProcessModelXMLImport.getTemplateFromDocument(org.w3c.dom.Document document)
Creates a template using the given DOM document.
|
Template |
ProcessModelXMLImport.getTemplateFromFile(java.io.File file)
Reads a process template from the given file and determines the file type.
|
Template |
ProcessModelXMLImport.getTemplateFromStream(java.io.InputStream inputStream)
Reads a process template from an input stream.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
ProcessModelXMLExport.getDocumentForTemplate(Template template)
Creates a DOM document from the template.
|
org.w3c.dom.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,
org.w3c.dom.Document document,
Template template)
Creates an instance using the given DOM document.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory,
java.io.File file,
Template template)
Reads a process instance from the given file and determines the file type.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromStream(ExecutionFactory executionFactory,
java.io.InputStream stream,
Template template)
Reads a process instance from the designated input stream.
|
java.io.InputStream |
ProcessModelXMLExport.getInputStreamForTemplate(Template template)
Returns The corresponding stream for a given template
|
java.io.InputStream |
ProcessModelXMLExport.getInputStreamForTemplate(Template template,
boolean intend)
Returns The corresponding stream for a given template
|
java.io.InputStream |
ProcessModelXMLExport.getInputStreamForTemplateAndStatus(Template template,
TemplateStatus templateStatus)
Returns The corresponding stream for a given template and a given template
status.
|
java.io.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(org.w3c.dom.Document document,
Template template)
Creates an instance using the given DOM document.
|
Instance |
ProcessModelXMLImport.getInstanceFromFile(java.io.File file,
Template template)
Reads a process instance from the given file and determines the file type.
|
java.lang.String |
ProcessModelXMLExport.getXMLStringForTemplate(Template template)
Returns the xml code of a given template as string.
|
java.lang.String |
ProcessModelXMLExport.getXMLStringForTemplate(Template template,
boolean intend)
Returns the xml code of a given template as string.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file,
Template structure)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file,
Template structure,
boolean intend)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeTemplateAndStatusToFile(Template template,
TemplateStatus templateStatus,
java.io.File file)
Writes the given template including its status to the given file.
|
void |
ProcessModelXMLExport.writeTemplateAndStatusToFile(Template template,
TemplateStatus templateStatus,
java.io.File file,
boolean intend)
Writes the given template including its status to the given file.
|
void |
ProcessModelXMLExport.writeTemplateToFile(Template template,
java.io.File file)
Writes the given template to the given file.
|
void |
ProcessModelXMLExport.writeTemplateToFile(Template template,
java.io.File file,
boolean intend)
Writes the given template to the given file.
|