public class DeleteDataEdge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
a Logger
|
| Constructor and Description |
|---|
DeleteDataEdge() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type)
Check if it is possible (concerning structural and state-based correctness)
to delete the data edge between the given node and the data element in the
instance.
|
static boolean |
isPossible(ChangeableInstance instance,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type,
CheckReport checkReport)
Check if it is possible (concerning structural and state-based correctness)
to delete the data edge between the given node and the data element.
|
static boolean |
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 |
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 void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type)
Deletes a data edge form the instance.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type,
UpdateManager updateManager)
Deletes a data edge form the instance (with updateManager).
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type)
Deletes a data edge from the template.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type,
UpdateManager updateManager)
Deletes a data edge from the template (with updateManager).
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
Node node,
DataElement dataElement,
ActivityConstants.AccessType type,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
template - the template where the change operation is performed on.node - node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)public static boolean isPossible(Template template, Node node, DataElement dataElement, ActivityConstants.AccessType type, CheckReport checkReport)
template - the template where the change operation is performed on.node - node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)checkReport - 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 nullpublic static boolean isPossible(ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)
instance - the changeable instance where the change operation is performed on.node - node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)public static boolean isPossible(ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type, CheckReport checkReport)
instance - the changeable instance where the change operation is performed on.node - node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)checkReport - 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 nullpublic static void performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
session - The session which is used to check for access rights on this
method.template - the template where the change operation is performed on.node - the node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)public static void performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.template - the template where the change operation is performed on.node - the node of the data edgedataElement - dataElement the data element the data edge is connected
to.type - type the access type of the data edge (read or write)updateManager - the manager who controls the update of the visual
graph components.public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the change operation is
performed on.node - the node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the change operation is
performed on.node - the node of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)updateManager - the manager who controls the update of the visual
graph components.protected static void performOperation(SessionToken session, ChangePrimitives processGraph, Node node, DataElement dataElement, ActivityConstants.AccessType type, 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 of the data edgedataElement - the data element the data edge is connected to.type - the access type of the data edge (read or write)updateManager - the manager who controls the update of the visual
graph components.