|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
WfProcess is the performer of a workflow request. All
workflow objects that perform work implement this interface. This
interface allows work to proceed asynchronously while being monitored
and controlled.
| Nested Class Summary |
| Nested classes inherited from class de.danet.an.workflow.omgcore.WfExecutionObject |
WfExecutionObject.ClosedState, WfExecutionObject.NotRunningState, WfExecutionObject.OpenState, WfExecutionObject.State |
| Method Summary | |
java.util.Collection |
activitiesInState(java.lang.String state)
Return all WfActivity objects that are in a certain state. |
WfProcessMgr |
manager()
Returns the WfProcessMgr associated with the
WfProcess. |
WfRequester |
requester()
Returns the WfRequester associated with this
WfProcess. |
ProcessData |
result()
Returns the result produced by the WfProcess. |
void |
setRequester(WfRequester requester)
Reassigns the WfProcess to another
WfRequester. |
void |
start()
Initiate enactment of a WfProcess. |
java.util.Collection |
steps()
Returns all WfActivities associated with this WfProcess. |
| Methods inherited from interface de.danet.an.workflow.omgcore.WfExecutionObject |
abort, changeState, description, history, howClosed, key, lastStateTime, name, priority, processContext, resume, setDescription, setName, setPriority, setProcessContext, state, suspend, terminate, validStates, whileOpen, whyNotRunning, workflowState |
| Method Detail |
public WfRequester requester()
throws java.rmi.RemoteException
WfRequester associated with this
WfProcess.
WfRequester.
java.rmi.RemoteException - if a system-level error occurs.
public void setRequester(WfRequester requester)
throws java.rmi.RemoteException,
CannotChangeRequesterException
WfProcess to another
WfRequester.
requester - new WfRequester.
java.rmi.RemoteException - if a system-level error occurs.
CannotChangeRequesterException - if ressignment of the process is
not supported.
public java.util.Collection steps()
throws java.rmi.RemoteException
WfProcess.
java.rmi.RemoteException - if a system-level error occurs.
public WfProcessMgr manager()
throws java.rmi.RemoteException
WfProcessMgr associated with the
WfProcess.
java.rmi.RemoteException - if a system-level error occurs.
public ProcessData result()
throws java.rmi.RemoteException,
ResultNotAvailableException
java.rmi.RemoteException - if a system-level error occurs.
ResultNotAvailableException - when the result cannot be obtained
yet.
public void start()
throws java.rmi.RemoteException,
CannotStartException,
AlreadyRunningException
java.rmi.RemoteException - if a system-level error occurs.
CannotStartException - when the process cannot be started (e.g.,
because it is not properly initialized).
AlreadyRunningException - when the process has already been
started.
public java.util.Collection activitiesInState(java.lang.String state)
throws java.rmi.RemoteException,
InvalidStateException
WfActivity objects that are in a certain state.
state - the given state.
java.rmi.RemoteException - if a system-level error occurs.
InvalidStateException - if an invalid state has been specified.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||