KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > corba > poa > WfPackageEventAuditCORBA


1 package org.enhydra.shark.corba.poa;
2
3 import org.omg.TimeBase.*;
4 import org.omg.WfBase.*;
5 import org.omg.WorkflowModel.*;
6 import org.enhydra.shark.corba.WorkflowService.*;
7 import org.enhydra.shark.corba.poa.SharkCORBAServer;
8
9 /**
10  * WfPackageEventAuditImpl - Workflow Event Audit implementation
11  */

12 public class WfPackageEventAuditCORBA extends WfPackageEventAuditPOA {
13    //private SharkCORBAServer myServer;
14

15    private org.enhydra.shark.api.client.wfservice.WfPackageEventAudit ea;
16
17    protected WfPackageEventAuditCORBA (SharkCORBAServer server,org.enhydra.shark.api.client.wfservice.WfPackageEventAudit ea) {
18      // this.myServer=server;
19
this.ea=ea;
20    }
21
22    public WfExecutionObject source () throws BaseException, SourceNotAvailable {
23       throw new SourceNotAvailable();
24    }
25
26    public UtcT time_stamp () throws BaseException {
27       try {
28          org.enhydra.shark.api.client.timebase.UtcT t=ea.time_stamp();
29          return new UtcT(t.time,t.inacclo,t.inacchi,t.tdf);
30       } catch (Exception JavaDoc ex) {
31          throw new BaseException();
32       }
33    }
34
35    public String JavaDoc event_type () throws BaseException {
36       try {
37          return ea.event_type();
38       } catch (Exception JavaDoc ex) {
39          throw new BaseException();
40       }
41    }
42
43    public String JavaDoc activity_key () throws BaseException {
44       try {
45          return ea.activity_key();
46       } catch (Exception JavaDoc ex) {
47          throw new BaseException();
48       }
49    }
50
51    public String JavaDoc activity_name () throws BaseException {
52       try {
53          return ea.activity_name();
54       } catch (Exception JavaDoc ex) {
55          throw new BaseException();
56       }
57    }
58
59    public String JavaDoc process_key () throws BaseException {
60       try {
61          return ea.process_key();
62       } catch (Exception JavaDoc ex) {
63          throw new BaseException();
64       }
65    }
66
67    public String JavaDoc process_name () throws BaseException {
68       try {
69          return ea.process_name();
70       } catch (Exception JavaDoc ex) {
71          throw new BaseException();
72       }
73    }
74
75    public String JavaDoc process_mgr_name () throws BaseException {
76       try {
77          return ea.process_mgr_name();
78       } catch (Exception JavaDoc ex) {
79          throw new BaseException();
80       }
81    }
82
83    public String JavaDoc process_mgr_version () throws BaseException {
84       try {
85          return ea.process_mgr_version();
86       } catch (Exception JavaDoc ex) {
87          throw new BaseException();
88       }
89    }
90
91    public String JavaDoc package_id () throws BaseException {
92       try {
93          return ea.package_id();
94       } catch (Exception JavaDoc ex) {
95          throw new BaseException();
96       }
97    }
98
99    public String JavaDoc package_version () throws BaseException {
100       try {
101          return ea.package_version();
102       } catch (Exception JavaDoc ex) {
103          throw new BaseException();
104       }
105    }
106
107    public String JavaDoc resource_username () throws BaseException {
108       try {
109          return ea.resource_username();
110       } catch (Exception JavaDoc ex) {
111          throw new BaseException();
112       }
113    }
114
115 }
116
Popular Tags