|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.workflow.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 type)
Returns all of the active processes of the given type 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 type) throws java.rmi.RemoteException, ApplicationException
type
- Type of the processes to retrieve.
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.- See Also:
for type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |