|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.model.AssignmentEntity
Class that provides management capabilities for an Assignment in a workflow Activity.
Constructor Summary | |
AssignmentEntity(Assignment assignment)
Constructs with Assignment value object. |
Method Summary | |
void |
complete(DistinguishedName user)
Signals completion of the assignment to the workflow engine. |
void |
complete(DistinguishedName user,
ActivityResult result)
Signals completion of the assignment to the workflow engine and provides the engine with the activity result in the same call. |
ActivityEntity |
getActivity()
Returns the activity associated with this assignment. |
static AssignmentEntity |
getAssignment(long assignmentId)
Returns an assignment associated with the id. |
java.util.List |
getInputParameters()
Returns list of input parameters for this assignment. |
Assignment |
getValueObject()
Returns the value object holding details about this assignment. |
void |
setValueObject(Assignment assignment)
Sets the value object holding details about this assignment. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssignmentEntity(Assignment assignment)
Method Detail |
public void complete(DistinguishedName user) throws WorkflowException
user
- Participant of the assignment.WorkflowException
- Thrown if an error occured trying to
process the completion.public void complete(DistinguishedName user, ActivityResult result) throws WorkflowException
user
- Participant of the assignment.result
- ActivityResult holding the result of the completing assignment.WorkflowException
- Thrown if an error occured trying to
process the completion.public static AssignmentEntity getAssignment(long assignmentId) throws WorkflowException
assignmentId
- Id of the assignmentWorkflowException
- Thrown if unable to retrieve the assignment.public ActivityEntity getActivity() throws WorkflowException
WorkflowException
- Thrown if unable to retrieve the activity.public java.util.List getInputParameters() throws WorkflowException
WorkflowException
- Thrown if unable to retrieve
the input parameters.public Assignment getValueObject()
public void setValueObject(Assignment assignment)
valueObject
- Assignment value object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |