|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxflow.client.WorkflowProcess
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.
| Constructor Summary | |
WorkflowProcess(java.lang.String wfName,
int wfVersion,
java.lang.String processName,
InboxMessageListener listener,
User user)
WorkflowProcess constructor |
|
| Method Summary | |
CompleteWorkItemResponse |
completeWorkItem(WorkItem workItem)
Completes a work item. |
WorkItem |
getNextWorkItem()
Gets the next work item (in First-In-First-Out order) from the inbox |
WorkItem |
getWorkItem(java.lang.Integer workItemId)
Gets a work item with a specific work item ID from the inbox |
java.util.List |
getWorkItems()
Gets a list of work items from this process's inbox. |
void |
onMessage(javax.jms.Message msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkflowProcess(java.lang.String wfName,
int wfVersion,
java.lang.String processName,
InboxMessageListener listener,
User user)
throws XflowException
wfName - the workflow namewfVersion - the workflow version - set to -1 if the latest version is to be usedprocessName - the process name - must be the name of a valid process node in the workflow modellistener - the inbox listener for asynchronous delivery of work items - may be nulluser - the user
XflowException| Method Detail |
public void onMessage(javax.jms.Message msg)
onMessage in interface javax.jms.MessageListener
public java.util.List getWorkItems()
throws XflowException
XflowException
public WorkItem getNextWorkItem()
throws XflowException
XflowException
public WorkItem getWorkItem(java.lang.Integer workItemId)
throws XflowException
XflowException
public CompleteWorkItemResponse completeWorkItem(WorkItem workItem)
throws XflowException
XflowException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||