|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A WfProcessMgr
represents a template for a specific
workflow process; it is used to create instances of a workflow
process. Logically it is the factory and locator for
instances.
WfProcess
Field Summary | |
static int |
DISABLED
Indicates that creation of workflow processes is disabled. |
static int |
ENABLED
Indicates that creation of workflow processes is enabled. |
Method Summary | |
java.lang.String |
category()
Return the category of a process manager used for classification of process types. |
ProcessDataInfo |
contextSignature()
Returns the meta information that defines how to set the context of an instance. |
WfProcess |
createProcess(WfRequester requester)
Create instances of a process and link its requester. |
java.lang.String |
description()
Returns the description of the process manager. |
java.lang.String |
name()
Returns the name of the process manager. |
java.util.Collection |
processes()
Returns a collection with WfProcess objects from this
process manager. |
int |
processMgrState()
Returns the state of the WfProcessMgr . |
ProcessDataInfo |
resultSignature()
Returns the meta information that specifies how instances will return results. |
void |
setProcessMgrState(int newState)
Set the new state of this process manager. |
java.lang.String |
version()
Return the version attribute of a process manager used to distinguish between different versions of a process model. |
Field Detail |
public static final int DISABLED
public static final int ENABLED
Method Detail |
public java.util.Collection processes() throws java.rmi.RemoteException
WfProcess
objects from this
process manager.
WfProcess
.
java.rmi.RemoteException
- if a system-level error occurs.public int processMgrState() throws java.rmi.RemoteException
WfProcessMgr
.
java.rmi.RemoteException
- if a system-level error occurs.public void setProcessMgrState(int newState) throws java.rmi.RemoteException, TransitionNotAllowedException
newState
- the new state.
java.rmi.RemoteException
- if a system-level error occurs.
TransitionNotAllowedException
- if the transition is not allowedpublic java.lang.String name() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public java.lang.String description() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public java.lang.String category() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public java.lang.String version() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public ProcessDataInfo contextSignature() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public ProcessDataInfo resultSignature() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a system-level error occurs.public WfProcess createProcess(WfRequester requester) throws java.rmi.RemoteException, NotEnabledException, InvalidRequesterException, RequesterRequiredException
requester
- the requester to create process.
java.rmi.RemoteException
- if a system-level error occurs.
NotEnabledException
- when the process manager is disabled.
InvalidRequesterException
- when the process definition requires
a WfRequester
and an invalid WfRequester
is
supplied in the parameter.
RequesterRequiredException
- when a WfRequester
is
being identified that cannot be a parent of instances of the process.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |