| de.danet.an.workflow.internalapi.ExtProcessLocal
All known Subclasses: domain.VolatileProcess,
choose | boolean choose(ExtActivityLocal activity) throws TransitionNotAllowedException(Code) | | Makes the given activity the chosen one in a set of activities
started by an AND split with the "deferred choice" option
set. All other activities in the set are reset to their initial
state.
If the activity does not participate in a deferred choice,
this method does nothing and returns true .
Parameters: activity - the activity to be chosen true if the activity could be made theeffectively chosen one throws: TransitionNotAllowedException - if the activity isneither running nor suspended |
closeActivity | void closeActivity(ExtActivityLocal activity, State closedState)(Code) | | Close the given activity. This method may be called only by the
activity passed as argument, and calls
ExtActivityLocal.doCloseActivity doCloseActivity on
the activity.
Activities may not set their state to "closed" themselves as
this state change has implications on the process and must be
tracked by a transition manager. Calling this method ensures
that there is a transition manager reflecting the situation
before the state change; the state is then changed by the
process calling doCloseActivity , and depending
actions may then be taken.
Parameters: activity - the activity Parameters: closedState - the new state of the activity |
copyProcessDefinition | void copyProcessDefinition(String procDefXpdl)(Code) | | Copy the process definition in xpdl string in this process.
If the process definition need to be removed, use this method
to copy process definition in the database field of xpdl so that
the process definition can still be reconstructed.
Parameters: procDefXpdl - the given process definition in xpdl string. |
evalExpressions | Serializable[] evalExpressions(Object[][] expressionData)(Code) | | Evaluate the given expression using the process specific context.
Parameters: expressionData - an array of object arrays containing the resulttype and the expression an array that contains the result of each evaluation.Note that the result may be an exception. |
handleException | void handleException(ExtActivityLocal activity, String exceptionName)(Code) | | Handle the process related tasks resulting from the receipt
of an exception by an activity.
Parameters: activity - the activity that has received the exception Parameters: exceptionName - the exception name |
processCreator | Principal processCreator()(Code) | | Return the creator of the process.
the process creator. |
processDefinitionDirectoryLocal | ProcessDefinitionDirectoryLocal processDefinitionDirectoryLocal()(Code) | | Return the process definition directory.
While there is no immediate relation between a process
instance and the known process definitions, the definitions
nevertheless make up part of the environment of a process.
Specifically, this method is needed to start a sub-process
in an activity.
the process definition directory |
submitChannelMessage | void submitChannelMessage(String channel, Map message) throws InvalidDataException(Code) | | Deliver a message on the given channel to a receiver tool
listening on that channel. If no tool is listening, store the
message.
Parameters: channel - the channel name Parameters: message - the message throws: InvalidDataException - if the message contains invalid data |
toProcess | Process toProcess()(Code) | | Return the remote version of this object.
the client side object. |
transitionsLocal | List transitionsLocal()(Code) | | Gets a list of transitions for this process
as ExtTransitionLocal s.
list of transitions for this process |
|
|