public class AssignEmptyEmbeddedSubprocess
extends java.lang.Object
| Constructor and Description |
|---|
AssignEmptyEmbeddedSubprocess() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(Instance instance,
int nodeID)
Checks if the assignment of an empty embedded subprocess is valid
(concerning structural and state-based correctness) for the given instance.
|
static boolean |
isPossible(Instance instance,
int nodeID,
CheckReport checkReport)
Checks if the assignment of an empty embedded subprocess is valid
(concerning structural and state-based correctness) for the given instance.
|
static boolean |
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 |
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 void |
performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID)
Creates and assigns an empty embedded subprocess to a node in the given instance.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
UpdateManager updateManager)
Creates and assigns an empty embedded subprocess to a node in the given
instance (with updateManager).
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID)
Creates and assigns an empty embedded subprocess to a node in the given template.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
UpdateManager updateManager)
Creates and assigns an empty embedded subprocess to a node in the given
template (with updateManager).
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
int nodeID,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, int nodeID)
template - the template where the method is performed onnodeID - the ID of the node where the empty embedded subprocess should be assignedpublic static boolean isPossible(Template template, int nodeID, CheckReport checkReport)
template - the template where the method is performed onnodeID - the ID of the node where the empty embedded subprocess should be assignedcheckReport - 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 isPossible(Instance instance, int nodeID)
instance - the changeable instance where the method is performed onnodeID - the ID of the node where the empty embedded subprocess should be assignedpublic static boolean isPossible(Instance instance, int nodeID, CheckReport checkReport)
instance - the changeable instance where the method is performed onnodeID - the ID of the node where the empty embedded subprocess should be assignedcheckReport - 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, int nodeID)
session - The session which is used to check for access rights on this
method.template - the template where the method is performed onnodeID - the ID of the node where the EBP is to be assignedpublic static void performOperation(SessionToken session, ChangeableTemplate template, int nodeID, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.template - the changeable template where the method is performed onnodeID - the ID of the node where the EBP is to be assignedupdateManager - the manager who controls the update of the visual
graph components. (maybe null)public static void performOperation(SessionToken session, ChangeableInstance instance, int nodeID)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the method is performed onnodeID - the ID of the node where the EBP is to be assignedpublic static void performOperation(SessionToken session, ChangeableInstance instance, int nodeID, 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 onnodeID - the ID of the node where the EBP is to be assignedupdateManager - the manager who controls the update of the visual
graph components. (maybe null)protected static void performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.processGraph - an instance of type ChangeableTemplate or
ChangeableInstancenodeID - the ID of the node where the subprocess is to be assignedupdateManager - the manager who controls the update of the visual
graph components. (maybe null)