| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--com.ibm.itim.workflow.model.ExecutionEntity
        |
        +--com.ibm.itim.workflow.model.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. | 
|  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 value object.| Method Detail | 
public void abort()
           throws WorkflowException
WorkflowExceptionWorkflowException
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.
WorkflowExceptionWorkflowException
public void setProcessContext(RelevantDataItem contextItem)
                       throws WorkflowException
contextItem - RelevantDataItem to change.
WorkflowExceptionWorkflowException
public java.util.Collection getActivities()
                                   throws WorkflowException
WorkflowException - Thrown if unable to retrieve the process's
            activities.
public java.util.Collection getPendingManualActivities(int maxResult)
                                                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.
WorkflowExceptionWorkflowException
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 | ||||||||||