|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface Process adds some functions to the
OMG process.
| Nested Class Summary |
| Nested classes inherited from class de.danet.an.workflow.omgcore.WfExecutionObject |
WfExecutionObject.ClosedState, WfExecutionObject.NotRunningState, WfExecutionObject.OpenState, WfExecutionObject.State |
| Method Summary | |
Activity |
activityByKey(java.lang.String key)
Returns the with the
given key. |
java.util.Date |
createTime()
Returns the creation time of the process. |
ProcessDefinition |
processDefinition()
Returns the process definition of this process. |
void |
setDebugEnabled(boolean debug)
Enable or disable debugging of the process. |
java.util.List |
transitions()
Gets a list of transitions for this process. |
| Methods inherited from interface de.danet.an.workflow.api.ExecutionObject |
changeState, debugEnabled, typedState |
| 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 |
| Methods inherited from interface de.danet.an.workflow.omgcore.WfProcess |
activitiesInState, manager, requester, result, setRequester, start, steps |
| Method Detail |
public Activity activityByKey(java.lang.String key)
throws java.rmi.RemoteException,
InvalidKeyException
Activity with the
given key. The OMG interface only defines a method for listing
all the activities associated with the process. While, of
course, one could select the activity with a certain key from
that list, this would be rather insufficient.
key - the
key of the activity
InvalidKeyException - if no activity with the given key
exists
java.rmi.RemoteException - if a system-level error occurs.
public ProcessDefinition processDefinition()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a system-level error occurs.
public java.util.List transitions()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a system level error occurs.
public java.util.Date createTime()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a system-level error occurs.
public void setDebugEnabled(boolean debug)
throws java.rmi.RemoteException,
InvalidStateException
debug - if the process is to be debugged
java.rmi.RemoteException - if a system-level error occurs.
InvalidStateException - if changing the debug mode is not
allowed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||