public class UpdateDataEdge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
aLogger
|
| Constructor and Description |
|---|
UpdateDataEdge() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
CheckReport checkReport,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Checks if it is valid (concerning structural and state based 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 instance. |
static boolean |
isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Checks if it is valid (concerning structural and state based 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 instance. |
static boolean |
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 |
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 void |
performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given instance using the data in the given data edge
object.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given instance using the data in the given data edge
object.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given template using the data in the given data edge
object.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given template using the data in the given data edge
object.
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, int nodeID, int dataElementID, ActivityConstants.AccessType type, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
dataEdgeProperties in the template.
The following attributes / properties may be updated and must therefore be
tested:
template - the template where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdgeProperties - the properties which should be changedpublic static boolean isPossible(Template template, int nodeID, int dataElementID, ActivityConstants.AccessType type, CheckReport checkReport, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
dataEdgeProperties in the template.
The following attributes / properties may be updated and must therefore be
tested:
template - the template where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEcheckReport - a checkReport object which can be filled with the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nulldataEdgeProperties - the properties which should be changedpublic static boolean isPossible(ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
dataEdgeProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdgeProperties - the properties which should be changedpublic static boolean isPossible(ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, CheckReport checkReport, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
dataEdgeProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEcheckReport - a checkReport object which can be filled with the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nulldataEdgeProperties - the properties which should be changedpublic static void performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
session - the related sessiontemplate - the changeable template where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdge - a temporary data edge object, containing the new valuesdataEdgeProperties - the properties which should be changedpublic static void performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
session - the related sessiontemplate - the changeable template where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdge - a temporary data edge object, containing the new valuesupdateManager - The update manager which will be informed about
process changes.dataEdgeProperties - the properties which should be changedpublic static void performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
session - the related sessioninstance - the changeable instance where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdge - a temporary data edge object, containing the new valuesdataEdgeProperties - the properties which should be changedpublic static void performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
session - the related sessioninstance - the changeable instance where the method is performed onnodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdge - a temporary data edge object, containing the new valuesupdateManager - The update manager which will be informed about
process changes.dataEdgeProperties - the properties which should be changedprotected static void performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
session - the related sessionprocessGraph - an instance of type ChangeableTemplate or
ChangeableInstancenodeID - the id of the node on one side of the data edgedataElementID - the id of the data element on the other side of the
data edgetype - the direction of the data edge READ or WRITEdataEdge - a temporary data edge object, containing the new valuesupdateManager - The update manager which will be informed about
process changes.dataEdgeProperties - the properties which should be changed