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.omg.CORBA.ORB ; 7 import org.omg.PortableServer.POAPackage.ServantAlreadyActive ; 8 import org.omg.PortableServer.POAPackage.WrongPolicy ; 9 import org.omg.PortableServer.POAPackage.ServantNotActive ; 10 import org.omg.PortableServer.POA ; 11 import org.omg.PortableServer.POAHelper ; 12 import org.enhydra.shark.corba.poa.Collective; 13 import org.enhydra.shark.corba.poa.SharkCORBAUtilities; 14 15 18 public class WfCreateProcessEventAuditCORBA extends 19 WfCreateProcessEventAuditPOA { 21 23 24 private org.enhydra.shark.api.client.wfmodel.WfCreateProcessEventAudit ea; 25 private Collective __collective; 26 private ORB orb; 27 28 protected WfCreateProcessEventAuditCORBA(ORB orb, Collective toJoin, 29 org.enhydra.shark.api.client.wfmodel.WfCreateProcessEventAudit ea) { 30 __collective = toJoin; 31 this.orb = orb; 32 this.ea = ea; 34 } 35 36 public WfExecutionObject source() throws BaseException, SourceNotAvailable { 37 try { 38 WfExecutionObject obj = SharkCORBAUtilities.makeWfProcess(new WfProcessCORBA(orb, __collective, (org.enhydra.shark.api.client.wfmodel.WfProcess) ea.source())); 39 __collective.__recruit(obj); 40 return obj; 41 } catch (org.enhydra.shark.api.client.wfmodel.SourceNotAvailable sna) { 42 throw new SourceNotAvailable(); 43 } catch (Exception ex) { 44 throw new BaseException(); 45 } 46 } 47 48 public UtcT time_stamp() throws BaseException { 49 try { 50 org.enhydra.shark.api.client.timebase.UtcT t = ea.time_stamp(); 51 return new UtcT(t.time, t.inacclo, t.inacchi, t.tdf); 52 } catch (Exception ex) { 53 throw new BaseException(); 54 } 55 } 56 57 public String event_type() throws BaseException { 58 try { 59 return ea.event_type(); 60 } catch (Exception ex) { 61 throw new BaseException(); 62 } 63 } 64 65 public String activity_key() throws BaseException { 66 try { 67 return ea.activity_key(); 68 } catch (Exception ex) { 69 throw new BaseException(); 70 } 71 } 72 73 public String activity_name() throws BaseException { 74 try { 75 return ea.activity_name(); 76 } catch (Exception ex) { 77 throw new BaseException(); 78 } 79 } 80 81 public String process_key() throws BaseException { 82 try { 83 return ea.process_key(); 84 } catch (Exception ex) { 85 throw new BaseException(); 86 } 87 } 88 89 public String process_name() throws BaseException { 90 try { 91 return ea.process_name(); 92 } catch (Exception ex) { 93 throw new BaseException(); 94 } 95 } 96 97 public String process_mgr_name() throws BaseException { 98 try { 99 return ea.process_mgr_name(); 100 } catch (Exception ex) { 101 throw new BaseException(); 102 } 103 } 104 105 public String process_mgr_version() throws BaseException { 106 try { 107 return ea.process_mgr_version(); 108 } catch (Exception ex) { 109 throw new BaseException(); 110 } 111 } 112 113 public String p_activity_key() throws BaseException { 114 try { 115 return ea.p_activity_key(); 116 } catch (Exception ex) { 117 throw new BaseException(); 118 } 119 } 120 121 public String p_process_key() throws BaseException { 122 try { 123 return ea.p_process_key(); 124 } catch (Exception ex) { 125 throw new BaseException(); 126 } 127 } 128 129 public String p_process_name() throws BaseException { 130 try { 131 return ea.p_process_name(); 132 } catch (Exception ex) { 133 throw new BaseException(); 134 } 135 } 136 137 public String p_process_mgr_name() throws BaseException { 138 try { 139 return p_process_mgr_name(); 140 } catch (Exception ex) { 141 throw new BaseException(); 142 } 143 } 144 145 public String p_process_mgr_version() throws BaseException { 146 try { 147 return ea.p_process_mgr_version(); 148 } catch (Exception ex) { 149 throw new BaseException(); 150 } 151 } 152 } | Popular Tags |