ed2594937d37d233f5ba3cf0cbc1e26cfb71e859.svn-base 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. package com.kingdee.eas.custom.salarytemplate.app;
  2. import javax.ejb.*;
  3. import java.rmi.RemoteException;
  4. import com.kingdee.bos.*;
  5. import com.kingdee.bos.util.BOSObjectType;
  6. import com.kingdee.bos.metadata.IMetaDataPK;
  7. import com.kingdee.bos.metadata.rule.RuleExecutor;
  8. import com.kingdee.bos.metadata.MetaDataPK;
  9. //import com.kingdee.bos.metadata.entity.EntityViewInfo;
  10. import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
  11. import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
  12. //import com.kingdee.bos.dao.IObjectPK;
  13. import com.kingdee.bos.dao.IObjectValue;
  14. import com.kingdee.bos.dao.IObjectCollection;
  15. import com.kingdee.bos.service.ServiceContext;
  16. import com.kingdee.bos.service.IServiceContext;
  17. import com.kingdee.eas.framework.Result;
  18. import com.kingdee.eas.framework.LineResult;
  19. import com.kingdee.eas.framework.exception.EASMultiException;
  20. import com.kingdee.bos.dao.ormapping.ObjectUuidPK;
  21. import com.kingdee.eas.framework.CoreBillBaseCollection;
  22. import com.kingdee.eas.framework.CoreBaseInfo;
  23. import com.kingdee.eas.custom.salarytemplate.WagesChromatographyInfo;
  24. import com.kingdee.bos.dao.IObjectPK;
  25. import com.kingdee.eas.hr.base.HRBillBaseCollection;
  26. import com.kingdee.eas.hr.base.app.HRBillBaseControllerBean;
  27. import com.kingdee.bos.metadata.entity.SelectorItemCollection;
  28. import com.kingdee.eas.common.EASBizException;
  29. import com.kingdee.eas.framework.CoreBaseCollection;
  30. import com.kingdee.eas.custom.salarytemplate.WagesChromatographyCollection;
  31. import com.kingdee.bos.metadata.entity.EntityViewInfo;
  32. import java.lang.String;
  33. import com.kingdee.eas.framework.ObjectBaseCollection;
  34. public abstract class AbstractWagesChromatographyControllerBean extends HRBillBaseControllerBean implements WagesChromatographyController
  35. {
  36. protected AbstractWagesChromatographyControllerBean()
  37. {
  38. }
  39. protected BOSObjectType getBOSType()
  40. {
  41. return new BOSObjectType("24DEF3A8");
  42. }
  43. public WagesChromatographyCollection getWagesChromatographyCollection(Context ctx) throws BOSException
  44. {
  45. try {
  46. ServiceContext svcCtx = createServiceContext(new MetaDataPK("a39931a2-ea62-4552-a053-5acfbb49867f"), new Object[]{ctx});
  47. invokeServiceBefore(svcCtx);
  48. if(!svcCtx.invokeBreak()) {
  49. WagesChromatographyCollection retValue = (WagesChromatographyCollection)_getCollection(ctx, svcCtx);
  50. svcCtx.setMethodReturnValue(retValue);
  51. }
  52. invokeServiceAfter(svcCtx);
  53. return (WagesChromatographyCollection)svcCtx.getMethodReturnValue();
  54. } catch (BOSException ex) {
  55. throw ex;
  56. } finally {
  57. super.cleanUpServiceState();
  58. }
  59. }
  60. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
  61. {
  62. return super._getCollection(ctx, svcCtx);
  63. }
  64. public WagesChromatographyCollection getWagesChromatographyCollection(Context ctx, EntityViewInfo view) throws BOSException
  65. {
  66. try {
  67. ServiceContext svcCtx = createServiceContext(new MetaDataPK("a587775c-6893-424e-b262-83de8f8776da"), new Object[]{ctx, view});
  68. invokeServiceBefore(svcCtx);
  69. if(!svcCtx.invokeBreak()) {
  70. WagesChromatographyCollection retValue = (WagesChromatographyCollection)_getCollection(ctx, svcCtx, view);
  71. svcCtx.setMethodReturnValue(retValue);
  72. }
  73. invokeServiceAfter(svcCtx);
  74. return (WagesChromatographyCollection)svcCtx.getMethodReturnValue();
  75. } catch (BOSException ex) {
  76. throw ex;
  77. } finally {
  78. super.cleanUpServiceState();
  79. }
  80. }
  81. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
  82. {
  83. return super._getCollection(ctx, svcCtx, view);
  84. }
  85. public WagesChromatographyCollection getWagesChromatographyCollection(Context ctx, String oql) throws BOSException
  86. {
  87. try {
  88. ServiceContext svcCtx = createServiceContext(new MetaDataPK("67caf3a9-e8fe-421c-8f36-4fd92ea6ac10"), new Object[]{ctx, oql});
  89. invokeServiceBefore(svcCtx);
  90. if(!svcCtx.invokeBreak()) {
  91. WagesChromatographyCollection retValue = (WagesChromatographyCollection)_getCollection(ctx, svcCtx, oql);
  92. svcCtx.setMethodReturnValue(retValue);
  93. }
  94. invokeServiceAfter(svcCtx);
  95. return (WagesChromatographyCollection)svcCtx.getMethodReturnValue();
  96. } catch (BOSException ex) {
  97. throw ex;
  98. } finally {
  99. super.cleanUpServiceState();
  100. }
  101. }
  102. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
  103. {
  104. return super._getCollection(ctx, svcCtx, oql);
  105. }
  106. public WagesChromatographyInfo getWagesChromatographyInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
  107. {
  108. try {
  109. ServiceContext svcCtx = createServiceContext(new MetaDataPK("98d9c191-2623-4b87-9467-a478d6124e51"), new Object[]{ctx, pk});
  110. invokeServiceBefore(svcCtx);
  111. if(!svcCtx.invokeBreak()) {
  112. WagesChromatographyInfo retValue = (WagesChromatographyInfo)_getValue(ctx, pk);
  113. svcCtx.setMethodReturnValue(retValue);
  114. }
  115. invokeServiceAfter(svcCtx);
  116. return (WagesChromatographyInfo)svcCtx.getMethodReturnValue();
  117. } catch (BOSException ex) {
  118. throw ex;
  119. } catch (EASBizException ex0) {
  120. throw ex0;
  121. } finally {
  122. super.cleanUpServiceState();
  123. }
  124. }
  125. protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
  126. {
  127. return super._getValue(ctx, pk);
  128. }
  129. public WagesChromatographyInfo getWagesChromatographyInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
  130. {
  131. try {
  132. ServiceContext svcCtx = createServiceContext(new MetaDataPK("ce590a28-cd0a-4320-b282-5a1a61bc00a4"), new Object[]{ctx, pk, selector});
  133. invokeServiceBefore(svcCtx);
  134. if(!svcCtx.invokeBreak()) {
  135. WagesChromatographyInfo retValue = (WagesChromatographyInfo)_getValue(ctx, pk, selector);
  136. svcCtx.setMethodReturnValue(retValue);
  137. }
  138. invokeServiceAfter(svcCtx);
  139. return (WagesChromatographyInfo)svcCtx.getMethodReturnValue();
  140. } catch (BOSException ex) {
  141. throw ex;
  142. } catch (EASBizException ex0) {
  143. throw ex0;
  144. } finally {
  145. super.cleanUpServiceState();
  146. }
  147. }
  148. protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
  149. {
  150. return super._getValue(ctx, pk, selector);
  151. }
  152. public WagesChromatographyInfo getWagesChromatographyInfo(Context ctx, String oql) throws BOSException, EASBizException
  153. {
  154. try {
  155. ServiceContext svcCtx = createServiceContext(new MetaDataPK("ab543e60-d713-44fb-8981-169475bc9249"), new Object[]{ctx, oql});
  156. invokeServiceBefore(svcCtx);
  157. if(!svcCtx.invokeBreak()) {
  158. WagesChromatographyInfo retValue = (WagesChromatographyInfo)_getValue(ctx, oql);
  159. svcCtx.setMethodReturnValue(retValue);
  160. }
  161. invokeServiceAfter(svcCtx);
  162. return (WagesChromatographyInfo)svcCtx.getMethodReturnValue();
  163. } catch (BOSException ex) {
  164. throw ex;
  165. } catch (EASBizException ex0) {
  166. throw ex0;
  167. } finally {
  168. super.cleanUpServiceState();
  169. }
  170. }
  171. protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
  172. {
  173. return super._getValue(ctx, oql);
  174. }
  175. public HRBillBaseCollection getHRBillBaseCollection (Context ctx) throws BOSException
  176. {
  177. return (HRBillBaseCollection)(getWagesChromatographyCollection(ctx).cast(HRBillBaseCollection.class));
  178. }
  179. public HRBillBaseCollection getHRBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  180. {
  181. return (HRBillBaseCollection)(getWagesChromatographyCollection(ctx, view).cast(HRBillBaseCollection.class));
  182. }
  183. public HRBillBaseCollection getHRBillBaseCollection (Context ctx, String oql) throws BOSException
  184. {
  185. return (HRBillBaseCollection)(getWagesChromatographyCollection(ctx, oql).cast(HRBillBaseCollection.class));
  186. }
  187. public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx) throws BOSException
  188. {
  189. return (CoreBillBaseCollection)(getWagesChromatographyCollection(ctx).cast(CoreBillBaseCollection.class));
  190. }
  191. public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  192. {
  193. return (CoreBillBaseCollection)(getWagesChromatographyCollection(ctx, view).cast(CoreBillBaseCollection.class));
  194. }
  195. public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, String oql) throws BOSException
  196. {
  197. return (CoreBillBaseCollection)(getWagesChromatographyCollection(ctx, oql).cast(CoreBillBaseCollection.class));
  198. }
  199. public ObjectBaseCollection getObjectBaseCollection (Context ctx) throws BOSException
  200. {
  201. return (ObjectBaseCollection)(getWagesChromatographyCollection(ctx).cast(ObjectBaseCollection.class));
  202. }
  203. public ObjectBaseCollection getObjectBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  204. {
  205. return (ObjectBaseCollection)(getWagesChromatographyCollection(ctx, view).cast(ObjectBaseCollection.class));
  206. }
  207. public ObjectBaseCollection getObjectBaseCollection (Context ctx, String oql) throws BOSException
  208. {
  209. return (ObjectBaseCollection)(getWagesChromatographyCollection(ctx, oql).cast(ObjectBaseCollection.class));
  210. }
  211. public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
  212. {
  213. return (CoreBaseCollection)(getWagesChromatographyCollection(ctx).cast(CoreBaseCollection.class));
  214. }
  215. public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  216. {
  217. return (CoreBaseCollection)(getWagesChromatographyCollection(ctx, view).cast(CoreBaseCollection.class));
  218. }
  219. public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
  220. {
  221. return (CoreBaseCollection)(getWagesChromatographyCollection(ctx, oql).cast(CoreBaseCollection.class));
  222. }
  223. }