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

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

public interface WfDataEventAudit
extends WfEventAudit

OMG definition: This interface specializes WfEventAudit for data change events. A data change event is signaled when the context of a WfExecutionObject or the result of a WfActivity is initialized or changed. The event_type is processContextChanged, activityContextChanged, or activityResultChanged.


Method Summary
 java.util.Map new_data()
          Records the context resp. result data of the execution object after the change; only the data items that were changed are reported.
 java.util.Map old_data()
          Records the context resp. result data of the execution object before the change; only the data items that were changed are reported.
 
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_data

public java.util.Map old_data()
                       throws java.lang.Exception
Records the context resp. result data of the execution object before the change; only the data items that were changed are reported. This event also records the initialization of the context of a WfProcess resp. of the result of a WfActivity; in these cases, old_data is NULL.

The old data are recorded for convenience here; they could be deduced by analyzing the history of the execution object. Support for recording of old data is optional.

Throws:
java.lang.Exception

new_data

public java.util.Map new_data()
                       throws java.lang.Exception
Records the context resp. result data of the execution object after the change; only the data items that were changed are reported. This event also records the initialization of the context of a WfProcess resp. of the result of a WfActivity; in these cases, new_data contains the initial data.

Throws:
java.lang.Exception