01: package org.enhydra.shark.api.client.wfmodel;
02:
03: /**
04: * OMG definition: This interface specializes WfEventAudit by adding state change
05: * information. A state change event is signaled when a WfExecutionObject changes its
06: * state. This covers both state changes resulting from a change_state operation request
07: * and internal state changes triggered by the execution logic of a WfProcess (e.g.,
08: * process completes successfully, activity is suspended because the containing process
09: * was suspended, etc.).
10: * <p>
11: * The event_type is processStateChanged or activityStateChanged.
12: */
13: public interface WfStateEventAudit extends WfEventAudit {
14:
15: /**
16: * The state of the execution object before the status change is recorded. The state is
17: * described using dot-notation. The old state is recorded for convenience here; it
18: * could be deduced by analyzing the history of the execution object. Recording of the
19: * old state is optional.
20: */
21: String old_state() throws Exception;
22:
23: /**
24: * The state of the execution object after the state change is recorded. The state is
25: * described using dot-notation.
26: */
27: String new_state() throws Exception;
28:
29: } // interface WfStateEventAudit
|