KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > working > WfExecutionObjectInternal


1 package org.enhydra.shark.api.internal.working;
2
3 import org.enhydra.shark.api.client.wfmodel.*;
4
5 import java.util.Map JavaDoc;
6 import org.enhydra.shark.api.SharkTransaction;
7 import org.enhydra.shark.api.client.timebase.UtcT;
8 import org.enhydra.shark.api.client.wfbase.BaseException;
9 import org.enhydra.shark.api.internal.working.PersistenceInterface;
10
11 public interface WfExecutionObjectInternal extends PersistenceInterface {
12    //List valid_states (SharkTransaction t) throws BaseException;
13

14    String JavaDoc state (SharkTransaction t) throws BaseException;
15
16    String JavaDoc name (SharkTransaction t) throws BaseException;
17
18    void set_name (SharkTransaction t,String JavaDoc new_value) throws BaseException;
19
20    String JavaDoc key (SharkTransaction t) throws BaseException;
21
22    String JavaDoc description (SharkTransaction t) throws BaseException;
23
24    void set_description (SharkTransaction t,String JavaDoc new_value) throws BaseException;
25
26    Map JavaDoc process_context (SharkTransaction t) throws BaseException;
27
28    void set_process_context (SharkTransaction t,Map JavaDoc new_value) throws BaseException, InvalidData, UpdateNotAllowed;
29
30    short priority (SharkTransaction t) throws BaseException;
31
32    void set_priority (SharkTransaction t,short new_value) throws BaseException;
33
34    void resume (SharkTransaction t) throws BaseException, CannotResume, NotSuspended;
35
36    void suspend (SharkTransaction t) throws BaseException, CannotSuspend, NotRunning, AlreadySuspended;
37
38    void terminate (SharkTransaction t) throws BaseException, CannotStop, NotRunning;
39
40    void abort (SharkTransaction t) throws BaseException, CannotStop, NotRunning;
41
42    //int how_many_history (SharkTransaction t) throws BaseException, HistoryNotAvailable;
43

44    //WfEventAudit[] get_sequence_history (SharkTransaction t,int max_number) throws BaseException, HistoryNotAvailable;
45

46    //boolean is_member_of_history (SharkTransaction t,WfExecutionObjectInternal member) throws BaseException;
47

48    UtcT last_state_time (SharkTransaction t) throws BaseException;
49
50
51    // internal interface
52
//WfDataEventAudit[] get_sequence_data_history (SharkTransaction t, int max_number) throws BaseException, HistoryNotAvailable;
53
//WfStateEventAudit[] get_sequence_state_history (SharkTransaction t,int max_number) throws BaseException, HistoryNotAvailable;
54
//java.util.List getHistory(SharkTransaction t) throws BaseException;
55

56    void activateLimitAgent(SharkTransaction trans) throws BaseException;
57
58    long getCreationTime (SharkTransaction trans) throws BaseException;
59
60    long getStartTime (SharkTransaction trans) throws BaseException;
61
62    Map JavaDoc getContext (SharkTransaction trans) throws BaseException;
63 }
64
Popular Tags