public class AssignExecutableBusinessProcess
extends java.lang.Object
| Constructor and Description |
|---|
AssignExecutableBusinessProcess() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossibleId(ChangeableInstance instance,
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 and state-based correctness) for
the given instance.
|
static boolean |
isPossibleId(ChangeableInstance instance,
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 and state-based correctness) for
the given instance.
|
static boolean |
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 |
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 void |
performOperation(SessionToken session,
ChangeableInstance instance,
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)
Assigns an executable business process to a node in the given instance
using the given maps to create a correct mapping between parameters and
dataElements via connectors.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
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,
UpdateManager updateManager)
Assigns an executable business process to a node in the given instance
using the given maps to create a correct mapping between parameters and
dataElements via connectors (with updateManager).
|
static void |
performOperation(SessionToken session,
ChangeableTemplate 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)
Assigns an executable business process to a node in the given template
using the given maps to create a correct mapping between parameters and
dataElements via connectors.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate 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,
UpdateManager updateManager)
Assigns an executable business process to a node in the given template
using the given maps to create a correct mapping between parameters and
dataElements via connectors (with updateManager).
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
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,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean 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)
template - the template where the method is performed onnode - the node where the EBP should be assignedebp - an activity or lightweight process which should be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and their DataMappingType which are not mapped to already existing
data elements.paramsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementspublic static boolean 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)
template - the template where the method is performed onnode - the node where the EBP should be assignedebp - an activity or lightweight process which should be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and their DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementscheckReport - an (empty) checkReport object which contains the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nullpublic static boolean isPossibleId(ChangeableInstance instance, 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)
instance - the changeable instance where the method is performed onnode - the node where the EBP should be assignedebp - an activity or lightweight process which should be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and their DataMappingType which are not mapped to already existing
data elements.paramsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementspublic static boolean isPossibleId(ChangeableInstance instance, 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)
instance - the changeable instance where the method is performed onnode - the node where the EBP should be assignedebp - an activity or lightweight process which should be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and their DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementscheckReport - an (empty) checkReport object which contains the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nullpublic static void performOperation(SessionToken session, ChangeableTemplate 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)
session - The session which is used to check for access rights on this
method.template - the template where the method is performed onnode - the node where the EBP is to be assignedebp - an activity or lightweight process which is to be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and there DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementspublic static void performOperation(SessionToken session, ChangeableTemplate 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, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.template - the template where the method is performed onnode - the node where the EBP is to be assignedebp - an activity or lightweight process which is to be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and there DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementsupdateManager - the manager who controls the update of the visual
graph components. (maybe null)public static void performOperation(SessionToken session, ChangeableInstance instance, 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)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the method is performed onnode - the node where the EBP is to be assignedebp - an activity or lightweight process which is to be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and there DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementspublic static void performOperation(SessionToken session, ChangeableInstance instance, 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, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the method is performed onnode - the node where the EBP is to be assignedebp - an activity or lightweight process which is to be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and there DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementsupdateManager - the manager who controls the update of the visual
graph components. (maybe null)protected static void performOperation(SessionToken session, ChangePrimitives processGraph, 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, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.processGraph - an instance of type ChangeableTemplate or
ChangeableInstancenode - the node where the EBP is to be assignedebp - an activity or lightweight process which is to be assigned to
the nodeparamsWithoutExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains input
or output parameters. The inner map contains only those parameters
and there DataMappingType which are not mapped to already existing
data elementsparamsWithExistingDataElements - a map which uses
AccessType.READ/WRITE to specify if the inner map contains a
mapping between input or output parameters and already existing
data elementsupdateManager - the manager who controls the update of the visual
graph components. (maybe null)