33c32ed38001d1a99cc14d9714e052df4683acb9.svn-base 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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.bos.dao.IObjectPK;
  22. import com.kingdee.bos.metadata.entity.SelectorItemCollection;
  23. import com.kingdee.eas.common.EASBizException;
  24. import com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryCollection;
  25. import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
  26. import com.kingdee.eas.framework.CoreBaseCollection;
  27. import com.kingdee.eas.hr.base.app.HRBillBaseEntryControllerBean;
  28. import com.kingdee.eas.framework.CoreBaseInfo;
  29. import com.kingdee.bos.metadata.entity.EntityViewInfo;
  30. import java.lang.String;
  31. import com.kingdee.eas.hr.base.HRBillBaseEntryCollection;
  32. import com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryInfo;
  33. public abstract class AbstractWagesChromatographyEntryControllerBean extends HRBillBaseEntryControllerBean implements WagesChromatographyEntryController
  34. {
  35. protected AbstractWagesChromatographyEntryControllerBean()
  36. {
  37. }
  38. protected BOSObjectType getBOSType()
  39. {
  40. return new BOSObjectType("022F2DAA");
  41. }
  42. public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
  43. {
  44. try {
  45. ServiceContext svcCtx = createServiceContext(new MetaDataPK("75ad1b21-2736-4192-8637-ffdf3f09ff68"), new Object[]{ctx, pk});
  46. invokeServiceBefore(svcCtx);
  47. if(!svcCtx.invokeBreak()) {
  48. WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, pk);
  49. svcCtx.setMethodReturnValue(retValue);
  50. }
  51. invokeServiceAfter(svcCtx);
  52. return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue();
  53. } catch (BOSException ex) {
  54. throw ex;
  55. } catch (EASBizException ex0) {
  56. throw ex0;
  57. } finally {
  58. super.cleanUpServiceState();
  59. }
  60. }
  61. protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
  62. {
  63. return super._getValue(ctx, pk);
  64. }
  65. public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
  66. {
  67. try {
  68. ServiceContext svcCtx = createServiceContext(new MetaDataPK("b08263ca-673c-4bc6-9902-ecfda3e6eb51"), new Object[]{ctx, pk, selector});
  69. invokeServiceBefore(svcCtx);
  70. if(!svcCtx.invokeBreak()) {
  71. WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, pk, selector);
  72. svcCtx.setMethodReturnValue(retValue);
  73. }
  74. invokeServiceAfter(svcCtx);
  75. return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue();
  76. } catch (BOSException ex) {
  77. throw ex;
  78. } catch (EASBizException ex0) {
  79. throw ex0;
  80. } finally {
  81. super.cleanUpServiceState();
  82. }
  83. }
  84. protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
  85. {
  86. return super._getValue(ctx, pk, selector);
  87. }
  88. public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, String oql) throws BOSException, EASBizException
  89. {
  90. try {
  91. ServiceContext svcCtx = createServiceContext(new MetaDataPK("873ffb40-8a56-405e-97b2-d92d5173a8c0"), new Object[]{ctx, oql});
  92. invokeServiceBefore(svcCtx);
  93. if(!svcCtx.invokeBreak()) {
  94. WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, oql);
  95. svcCtx.setMethodReturnValue(retValue);
  96. }
  97. invokeServiceAfter(svcCtx);
  98. return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue();
  99. } catch (BOSException ex) {
  100. throw ex;
  101. } catch (EASBizException ex0) {
  102. throw ex0;
  103. } finally {
  104. super.cleanUpServiceState();
  105. }
  106. }
  107. protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
  108. {
  109. return super._getValue(ctx, oql);
  110. }
  111. public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx) throws BOSException
  112. {
  113. try {
  114. ServiceContext svcCtx = createServiceContext(new MetaDataPK("2b6f2f3a-fc9d-470a-93a8-bd4f3d641428"), new Object[]{ctx});
  115. invokeServiceBefore(svcCtx);
  116. if(!svcCtx.invokeBreak()) {
  117. WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx);
  118. svcCtx.setMethodReturnValue(retValue);
  119. }
  120. invokeServiceAfter(svcCtx);
  121. return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue();
  122. } catch (BOSException ex) {
  123. throw ex;
  124. } finally {
  125. super.cleanUpServiceState();
  126. }
  127. }
  128. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
  129. {
  130. return super._getCollection(ctx, svcCtx);
  131. }
  132. public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
  133. {
  134. try {
  135. ServiceContext svcCtx = createServiceContext(new MetaDataPK("57f8c69e-1f1d-4ee3-8800-b117c3900fb7"), new Object[]{ctx, view});
  136. invokeServiceBefore(svcCtx);
  137. if(!svcCtx.invokeBreak()) {
  138. WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx, view);
  139. svcCtx.setMethodReturnValue(retValue);
  140. }
  141. invokeServiceAfter(svcCtx);
  142. return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue();
  143. } catch (BOSException ex) {
  144. throw ex;
  145. } finally {
  146. super.cleanUpServiceState();
  147. }
  148. }
  149. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
  150. {
  151. return super._getCollection(ctx, svcCtx, view);
  152. }
  153. public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx, String oql) throws BOSException
  154. {
  155. try {
  156. ServiceContext svcCtx = createServiceContext(new MetaDataPK("08b6a6fe-61d3-46b6-9a86-8a6f05801643"), new Object[]{ctx, oql});
  157. invokeServiceBefore(svcCtx);
  158. if(!svcCtx.invokeBreak()) {
  159. WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx, oql);
  160. svcCtx.setMethodReturnValue(retValue);
  161. }
  162. invokeServiceAfter(svcCtx);
  163. return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue();
  164. } catch (BOSException ex) {
  165. throw ex;
  166. } finally {
  167. super.cleanUpServiceState();
  168. }
  169. }
  170. protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
  171. {
  172. return super._getCollection(ctx, svcCtx, oql);
  173. }
  174. public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx) throws BOSException
  175. {
  176. return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx).cast(HRBillBaseEntryCollection.class));
  177. }
  178. public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
  179. {
  180. return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(HRBillBaseEntryCollection.class));
  181. }
  182. public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx, String oql) throws BOSException
  183. {
  184. return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(HRBillBaseEntryCollection.class));
  185. }
  186. public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
  187. {
  188. return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
  189. }
  190. public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  191. {
  192. return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
  193. }
  194. public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
  195. {
  196. return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
  197. }
  198. public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
  199. {
  200. return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx).cast(CoreBaseCollection.class));
  201. }
  202. public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
  203. {
  204. return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(CoreBaseCollection.class));
  205. }
  206. public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
  207. {
  208. return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
  209. }
  210. }