Class UpdateDataElementParameterMapping
java.lang.Object
de.aristaflow.adept2.core.changeoperations.UpdateDataElementParameterMapping
Use this operation to update/change the mapping between the parameters of an
assigned EBP and its data elements.
TODO implement an isPossible-method!
- Author:
- Martin Jurisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidperformOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements) Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance.static voidperformOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance.static voidperformOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements) Updates the Mapping from DataElements to the EBP-parameters for the given node in the template.static voidperformOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Updates the Mapping from DataElements to the EBP-parameters for the given node in the template.protected static voidperformOperation(SessionToken session, ChangePrimitives processGraph, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Worker method to do the structural changes for both changeable templates and changeable instances.
-
Constructor Details
-
UpdateDataElementParameterMapping
public UpdateDataElementParameterMapping()
-
-
Method Details
-
performOperation
public static void performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements) Updates the Mapping from DataElements to the EBP-parameters for the given node in the template. (with updateManager)- Parameters:
session- The session which is used to check for access rights on this method.template- the related templatenode- the node, whose mapping should be updatedparamsWithoutExistingDataElements-paramsWithExistingDataElements-
-
performOperation
public static void performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Updates the Mapping from DataElements to the EBP-parameters for the given node in the template. (with updateManager)- Parameters:
session- The session which is used to check for access rights on this method.template- the related templatenode- the node, whose mapping should be updatedparamsWithoutExistingDataElements-paramsWithExistingDataElements-updateManager- the manager who controls the update of the visual graph components. (maybe null)
-
performOperation
public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements) Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance. (with updateManager)- Parameters:
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, whose mapping should be updatedparamsWithoutExistingDataElements-paramsWithExistingDataElements-
-
performOperation
public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance. (with updateManager)- Parameters:
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, whose mapping should be updatedparamsWithoutExistingDataElements-paramsWithExistingDataElements-updateManager- the manager who controls the update of the visual graph components. (maybe null)
-
performOperation
protected static void performOperation(SessionToken session, ChangePrimitives processGraph, Node node, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType, Map<ProcessModelParameter, Integer>> paramsWithExistingDataElements, UpdateManager updateManager) Worker method to do the structural changes for both changeable templates and changeable instances.- Parameters:
session- The session which is used to check for access rights on this method.processGraph- an instance of type ChangeableTemplate or ChangeableInstancenode- the node, whose mapping should be updatedparamsWithoutExistingDataElements-paramsWithExistingDataElements-updateManager- the manager who controls the update of the visual graph components. (maybe null)
-