com.ibm.itim.apps.workflow
Class WorkflowExecutionMO
java.lang.Object
|
+--com.ibm.itim.apps.workflow.WorkflowExecutionMO
- Direct Known Subclasses:
- WorkflowActivityMO, WorkflowProcessMO
- public abstract class WorkflowExecutionMO
- extends java.lang.Object
Class that provides management capabilities for an executable object within
the workflow engine of the platform, such as processes and activities.
Method Summary |
abstract void |
auditEvent(EventAudit event)
Places the given event in the audit trail (history) of the execution
object. |
abstract java.util.List |
getHistory()
Returns the history, or the audit trail for this execution object. |
long |
getID()
Returns the ID of the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowExecutionMO
public WorkflowExecutionMO()
getID
public long getID()
- Returns the ID of the object.
- Returns:
- ID of the object.
getHistory
public abstract java.util.List getHistory()
throws java.rmi.RemoteException,
ApplicationException
- Returns the history, or the audit trail for this execution object. The
history is made up of a sequential list of audit records (EventAudit
objects).
- Returns:
- List of EventAudit objects that represent the object's history.
- Throws:
java.rmi.RemoteException
- Thrown if unable to communicate with platform.AuthorizationException
- Thrown if client is unauthorized to
view the history of the execution object.ApplicationException
- Thrown if an error was encountered trying
to retrieve the history.
auditEvent
public abstract void auditEvent(EventAudit event)
throws java.rmi.RemoteException,
ApplicationException
- Places the given event in the audit trail (history) of the execution
object.
- Parameters:
event
- EventAudit representing the audited event.- Throws:
WorkflowException
- Thrown if an error was encountered trying
to audit the event.