KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > client > wfmodel > WfDataEventAudit


1 package org.enhydra.shark.api.client.wfmodel;
2
3
4 import org.enhydra.shark.api.client.wfbase.*;
5 import java.util.Map JavaDoc;
6
7 /**
8  OMG definition: This interface specializes WfEventAudit for data change events. A data change event is
9  signaled when the context of a WfExecutionObject or the result of a WfActivity is
10  initialized or changed. The event_type is processContextChanged,
11  activityContextChanged, or activityResultChanged.
12  */

13 public interface WfDataEventAudit extends WfEventAudit {
14
15    /**
16     Records the context resp. result data of the execution object before the change; only the
17     data items that were changed are reported. This event also records the initialization of
18     the context of a WfProcess resp. of the result of a WfActivity; in these cases, old_data
19     is NULL.
20     <p>The old data are recorded for convenience here; they could be deduced by analyzing
21     the history of the execution object. Support for recording of old data is optional.
22     */

23    Map JavaDoc old_data () throws BaseException;
24
25    /**
26     Records the context resp. result data of the execution object after the change; only the
27     data items that were changed are reported. This event also records the initialization of
28     the context of a WfProcess resp. of the result of a WfActivity; in these cases, new_data
29     contains the initial data.
30     */

31    Map JavaDoc new_data () throws BaseException;
32 } // interface WfDataEventAudit
33
Popular Tags