public class RemoveExecutableBusinessProcess
extends java.lang.Object
| Constructor and Description |
|---|
RemoveExecutableBusinessProcess() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
Node node)
Checks if it is valid (concerning structural and state-based correctness)
to remove/delete the EBP from the given node.
|
static boolean |
isPossible(ChangeableInstance instance,
Node node,
CheckReport checkReport)
Checks if it is valid (concerning structural and state-based correctness)
to remove/delete the EBP from the given node.
|
static boolean |
isPossible(Template template,
Node node)
Checks if it is valid (concerning structural correctness) to remove/delete
the EBP from the given node in the given template.
|
static boolean |
isPossible(Template template,
Node node,
CheckReport checkReport)
Checks if it is valid (concerning structural correctness) to remove/delete
the EBP from the given node in the given template.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node)
Removes/Deletes an executable business process from the given node in the
given instance.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node,
UpdateManager updateManager)
Removes/Deletes an executable business process from the given node in the
given instance.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node)
Removes/Deletes an executable business process from the given node in the
given template
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node,
UpdateManager updateManager)
Removes/Deletes an executable business process from the given node in the
given template.
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
Node node,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, Node node)
template - the related templatenode - the node where the EBP should be deletedpublic static boolean isPossible(Template template, Node node, CheckReport checkReport)
template - the related templatenode - the node where the EBP should be deletedcheckReport - 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(ChangeableInstance instance, Node node)
instance - the changeable instance where the method is performed onnode - the node where the EBP should be deletedpublic static boolean isPossible(ChangeableInstance instance, Node node, CheckReport checkReport)
instance - the changeable instance where the method is performed onnode - the node where the EBP should be deletedcheckReport - 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)
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 removedpublic static void performOperation(SessionToken session, ChangeableTemplate template, Node node, 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 removedupdateManager - The update manager which will be informed about
process changes.public static void performOperation(SessionToken session, ChangeableInstance instance, Node node)
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 removedpublic static void performOperation(SessionToken session, ChangeableInstance instance, Node node, 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 removedupdateManager - The update manager which will be informed about
process changes.protected static void performOperation(SessionToken session, ChangePrimitives processGraph, Node node, 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 removedupdateManager - The update manager which will be informed about
process changes.