org.enhydra.shark.api.client.wfmodel
Interface WfStateEventAudit

All Superinterfaces:
BaseBusinessObject, java.io.Serializable, WfEventAudit
All Known Subinterfaces:
WfStateEventAuditInternal

public interface WfStateEventAudit
extends WfEventAudit

OMG definition: This interface specializes WfEventAudit by adding state change information. A state change event is signaled when a WfExecutionObject changes its state. This covers both state changes resulting from a change_state operation request and internal state changes triggered by the execution logic of a WfProcess (e.g., process completes successfully, activity is suspended because the containing process was suspended, etc.).

The event_type is processStateChanged or activityStateChanged.


Method Summary
 java.lang.String new_state()
          The state of the execution object after the state change is recorded.
 java.lang.String old_state()
          The state of the execution object before the status change is recorded.
 
Methods inherited from interface org.enhydra.shark.api.client.wfmodel.WfEventAudit
activity_key, activity_name, event_type, process_key, process_mgr_name, process_mgr_version, process_name, source, time_stamp
 

Method Detail

old_state

public java.lang.String old_state()
                           throws java.lang.Exception
The state of the execution object before the status change is recorded. The state is described using dot-notation. The old state is recorded for convenience here; it could be deduced by analyzing the history of the execution object. Recording of the old state is optional.

Throws:
java.lang.Exception

new_state

public java.lang.String new_state()
                           throws java.lang.Exception
The state of the execution object after the state change is recorded. The state is described using dot-notation.

Throws:
java.lang.Exception