01: package org.enhydra.shark.api.client.wfmodel;
02:
03: import java.util.Map;
04:
05: /**
06: * OMG definition: This interface specializes WfEventAudit for data change events. A data
07: * change event is signaled when the context of a WfExecutionObject or the result of a
08: * WfActivity is initialized or changed. The event_type is processContextChanged,
09: * activityContextChanged, or activityResultChanged.
10: */
11: public interface WfDataEventAudit extends WfEventAudit {
12:
13: /**
14: * Records the context resp. result data of the execution object before the change;
15: * only the data items that were changed are reported. This event also records the
16: * initialization of the context of a WfProcess resp. of the result of a WfActivity; in
17: * these cases, old_data is NULL.
18: * <p>
19: * The old data are recorded for convenience here; they could be deduced by analyzing
20: * the history of the execution object. Support for recording of old data is optional.
21: */
22: Map old_data() throws Exception;
23:
24: /**
25: * Records the context resp. result data of the execution object after the change; only
26: * the data items that were changed are reported. This event also records the
27: * initialization of the context of a WfProcess resp. of the result of a WfActivity; in
28: * these cases, new_data contains the initial data.
29: */
30: Map new_data() throws Exception;
31: } // interface WfDataEventAudit
|