|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.workflow.WorkflowAssignmentMO
This class provides management capabilities for an assignment, or work item.
Constructor Summary | |
WorkflowAssignmentMO(PlatformContext platform,
javax.security.auth.Subject subject,
long id)
Constructs the the managed object with a platform context, a subject, and the managed object representing the workflow assignment. |
Method Summary | |
void |
complete()
Signals completion of the assignment to the workflow engine. |
void |
complete(ActivityResult result)
Signals completion of the activity to the workflow engine and provides the engine with the activity result in the same call. |
WorkflowActivityMO |
getActivity()
Returns the activity that generated this assignment. |
Assignment |
getData()
Returns the value object holding details about this assignment. |
long |
getID()
Returns the identifier of the assignment. |
java.util.List |
getInputParameters()
Returns the parameter list of the assignment. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorkflowAssignmentMO(PlatformContext platform, javax.security.auth.Subject subject, long id)
platform
- PlatformContext holding platform connection information.subject
- Subject representing the authenticated caller.id
- long representing the id of the assignment.Method Detail |
public long getID()
public WorkflowActivityMO getActivity() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to retrieve the activity.public void complete() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
complete the assignment.ApplicationException
- Thrown if an error occured trying to
process the completion.public void complete(ActivityResult result) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
result
- ActivityResult holding the result of the activity.java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
complete the activity.ApplicationException
- Thrown if an error occured trying to
process the completion.public Assignment getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to retrieve the assignment's
value object.public java.util.List getInputParameters() throws java.rmi.RemoteException, ApplicationException
RelevantDataItem representing the input parameters.
The order is important as there are no names provided for the
parameters, just the values.- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.ApplicationException
- Thrown if unable to retrieve the assignment's
input parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |