KickJava   Java API By Example, From Geeks To Geeks.

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


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

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