|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.workflow.model.ExecutionEntity
com.ibm.itim.workflow.model.ActivityEntity
public class ActivityEntity
Class that provides management capabilities for an activity in a workflow process
| Constructor Summary | |
|---|---|
ActivityEntity(Activity activity)
Constructs with Activity value object. |
|
| Method Summary | |
|---|---|
void |
complete()
Signals completion of the activity 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. |
static ActivityEntity |
getActivity(long activityId)
Returns the activity of the process with the given activity ID. |
java.util.Collection |
getAssignments()
Returns the assignments made to resources as part of this activity. |
java.util.Collection |
getChildren()
Returns the children processes of this activity (if any). |
WorkflowProcessEntity |
getContainer()
Returns the containing process of the activity. |
java.util.List |
getHistory()
Returns the history, or the audit trail for this activity. |
void |
setResult(java.lang.String summary,
java.lang.String description)
Changes the result of the activity. |
| Methods inherited from class com.ibm.itim.workflow.model.ExecutionEntity |
|---|
auditEvent, getId, getValueObject, setValueObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityEntity(Activity activity)
activity - | Method Detail |
|---|
public void complete()
throws WorkflowException
WorkflowException - Thrown if an error occured trying to
process the completion.
public void complete(ActivityResult result)
throws WorkflowException
result - ActivityResult holding the result of the completing assignment.
WorkflowException - Thrown if an error occured trying to
process the completion.
public void setResult(java.lang.String summary,
java.lang.String description)
throws WorkflowException
summary - Summary code for the activity.description - Description of the activity.
WorkflowException - Thrown if an error occured trying to
set the activity result.
public static ActivityEntity getActivity(long activityId)
throws WorkflowException
activityId - activity ID of the activity to retrieve.
WorkflowException - Thrown if unable to retrieve the activity because of an
invalid ID.
public java.util.List getHistory()
throws WorkflowException
getHistory in class ExecutionEntityWorkflowException - Thrown if an error was encountered trying
to retrieve the history.
public java.util.Collection getAssignments()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the activity's
assignments.
public WorkflowProcessEntity getContainer()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the activity's
containing process.public java.util.Collection getChildren()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||