| java.lang.Object xflow.client.WorkflowProcess
WorkflowProcess | public class WorkflowProcess implements MessageListener(Code) | | A WorkflowProcess receives work items from the XFlow system and
"works" on them. It is bound or associated to a node in the workflow model.
|
WorkflowProcess | public WorkflowProcess(String wfName, int wfVersion, String processName, InboxMessageListener listener, User u) throws XflowException(Code) | | WorkflowProcess constructor
Parameters: wfName - the workflow name Parameters: wfVersion - the workflow version - set to -1 if the latest version is to be used Parameters: processName - the process name - must be the name of a valid process node in the workflow model Parameters: listener - the inbox listener for asynchronous delivery of work items - may be null Parameters: user - the user exception: XflowException - |
completeWorkItem | public void completeWorkItem(WorkItem workItem) throws XflowException(Code) | | Completes a work item. This is typically invoked by a workflow process after
it is done with its processing of the work item.
Parameters: The - work item ID exception: XflowException - |
getNextWorkItem | public WorkItem getNextWorkItem() throws XflowException(Code) | | Gets the next work item (in First-In-First-Out order) from the inbox
A WorkItem object or null - if there are no work items. exception: XflowException - |
getWorkItem | public WorkItem getWorkItem(WorkItemId workItemId) throws XflowException(Code) | | Gets a work item with a specific work item ID from the inbox
Parameters: The - work item ID A WorkItem object or null - if there is no such work item exception: XflowException - |
onMessage | public void onMessage(Message msg)(Code) | | |
|
|