KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.enhydra.shark.api.client.wfmodel;
2
3
4 import org.enhydra.shark.api.client.wfbase.*;
5
6
7 /**
8  OMG definition: This interface specializes WfEventAudit by adding state change information. A state
9  change event is signaled when a WfExecutionObject changes its state. This covers both
10  state changes resulting from a change_state operation request and internal state
11  changes triggered by the execution logic of a WfProcess (e.g., process completes
12  successfully, activity is suspended because the containing process was suspended, etc.).
13  <p>The event_type is processStateChanged or activityStateChanged.
14  */

15 public interface WfStateEventAudit extends WfEventAudit {
16
17    /**
18     The state of the execution object before the status change is recorded. The state is
19     described using dot-notation. The old state is recorded for convenience here; it
20     could be deduced by analyzing the history of the execution object. Recording of the
21     old state is optional.
22     */

23    String JavaDoc old_state () throws BaseException;
24
25    /**
26     The state of the execution object after the state change is recorded. The state is
27     described using dot-notation.
28     */

29    String JavaDoc new_state () throws BaseException;
30
31 } // interface WfStateEventAudit
32
Popular Tags