|
|||||||||||
| 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.WorkflowProcessEntity
public class WorkflowProcessEntity
Class that provides management capabilities for a workflow process.
| Constructor Summary | |
|---|---|
WorkflowProcessEntity(WorkflowProcess wfProcess)
Constructs with WorkflowProcess value object. |
|
| Method Summary | |
|---|---|
void |
abort()
Aborts the Process. |
void |
abort(com.ibm.itim.apps.ejb.home.AuthenticationObject signedToken,
java.lang.String justification)
Aborts the Process. |
java.util.Collection |
getActivities()
Returns the activities that are part of this process. |
ActivityEntity |
getActivity(java.lang.String designId)
Returns the activity of the process with the given ID defined at design time. |
ActivityEntity |
getActivity(java.lang.String designId,
int index)
Returns the activity of the process with the given ID defined at design time and the given index of an iteration in a loop. |
java.util.Collection |
getChildren()
Returns the children processes of this process (if any). |
java.util.List |
getHistory()
Returns the history, or the audit trail for this process. |
WorkflowProcessEntity |
getParent()
Returns the parent process of this process (if any). |
java.util.Collection |
getPendingManualActivities(int maxResult)
Returns the activities that are part of this process. |
java.util.Collection |
getProcessContext()
Returns the process context of the object. |
RelevantDataItem |
getProcessContext(java.lang.String dataId)
Returns the relevant data from the process context of the object with the given ID. |
void |
setProcessContext(java.util.Collection context)
Changes the process context of the object. |
void |
setProcessContext(RelevantDataItem contextItem)
Changes the relevant data item within the process context of the object with the matching ID. |
void |
setResult(java.lang.String summary,
java.lang.String description)
Changes the result of the process. |
| 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 WorkflowProcessEntity(WorkflowProcess wfProcess)
wfProcess - WorkflowProcess.| Method Detail |
|---|
public void abort()
throws WorkflowException
WorkflowException - Thrown if an error was encountered trying
to abort the process.
public void abort(com.ibm.itim.apps.ejb.home.AuthenticationObject signedToken,
java.lang.String justification)
throws WorkflowException
signedToken - Signed object with DistinguishedName
identifies an authenticated SystemUser.justification - the reason to abort the process
WorkflowException - Thrown if an error was encountered trying
to abort the process.
public void setResult(java.lang.String summary,
java.lang.String description)
summary - Summary code for the process.description - Description of the process.
public java.util.Collection getProcessContext()
throws WorkflowException
WorkflowException - Thrown if an error was encountered trying
to retrieve the context.
public RelevantDataItem getProcessContext(java.lang.String dataId)
throws WorkflowException
WorkflowException - Thrown if an error was encountered trying
to retrieve the context item.
public void setProcessContext(java.util.Collection context)
throws WorkflowException
context - Collection of RelevantDataItem to change.
WorkflowException - Thrown if an error was encountered trying to change the
context.
public void setProcessContext(RelevantDataItem contextItem)
throws WorkflowException
contextItem - RelevantDataItem to change.
WorkflowException - Thrown if an error was encountered trying to change the
context item.
public java.util.Collection getPendingManualActivities(int maxResult)
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the process's
activities.
public java.util.Collection getActivities()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the process's
activities.
public ActivityEntity getActivity(java.lang.String designId)
throws WorkflowException
designId - Design time ID of the activity to retrieve.
WorkflowException - Thrown if unable to retrieve the activity because of an
invalid ID.
public ActivityEntity getActivity(java.lang.String designId,
int index)
throws WorkflowException
designId - Design time ID of the activity to retrieve.index - Index of the loop iteration.
WorkflowException - Thrown if unable to retrieve the activity because of an
invalid ID or loop index.
public WorkflowProcessEntity getParent()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the process's
parent process.
public java.util.Collection getChildren()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the process's
children process.
public java.util.List getHistory()
throws WorkflowException
getHistory in class ExecutionEntityWorkflowException - Thrown if an error was encountered trying
to retrieve the history.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||