|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.apps.workflow.WorkflowManager
public class WorkflowManager
Provides the ability to query workflow processes within the workflow engine.
| Constructor Summary | |
|---|---|
WorkflowManager(PlatformContext platform,
javax.security.auth.Subject subject)
Constructs the manager with a platform context and a subject. |
|
| Method Summary | |
|---|---|
java.util.Collection |
getActiveProcesses()
Returns all of the active processes in the workflow engine. |
java.util.Collection |
getActiveProcesses(java.lang.String defid)
Returns all of the active processes of the given workflow process definition id in the workflow engine. |
WorkflowProcessMO |
getProcess(long id)
Returns the process for the given Id. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowManager(PlatformContext platform,
javax.security.auth.Subject subject)
platform - PlatformContext holding platform connection information.subject - Subject representing the authenticated caller.| Method Detail |
|---|
public WorkflowProcessMO getProcess(long id)
throws java.rmi.RemoteException,
ApplicationException
id - Id of the process
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable retrieve the process.
public java.util.Collection getActiveProcesses()
throws java.rmi.RemoteException,
ApplicationException
WorkflowProcessMO representing active
processes.
- Throws:
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to return the active
processes.
public java.util.Collection getActiveProcesses(java.lang.String defid)
throws java.rmi.RemoteException,
ApplicationException
defId - the identifier of the target workflow process definition.
WorkflowProcessMO representing active
processes of the given type.
- Throws:
java.rmi.RemoteException - Thrown if unable to communicate with platform.
ApplicationException - Thrown if unable to return the active
processes.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||