package com.kingdee.eas.custom.salarytemplate.app; import javax.ejb.*; import java.rmi.RemoteException; import com.kingdee.bos.*; import com.kingdee.bos.util.BOSObjectType; import com.kingdee.bos.metadata.IMetaDataPK; import com.kingdee.bos.metadata.rule.RuleExecutor; import com.kingdee.bos.metadata.MetaDataPK; //import com.kingdee.bos.metadata.entity.EntityViewInfo; import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean; import com.kingdee.bos.framework.ejb.AbstractBizControllerBean; //import com.kingdee.bos.dao.IObjectPK; import com.kingdee.bos.dao.IObjectValue; import com.kingdee.bos.dao.IObjectCollection; import com.kingdee.bos.service.ServiceContext; import com.kingdee.bos.service.IServiceContext; import com.kingdee.eas.framework.Result; import com.kingdee.eas.framework.LineResult; import com.kingdee.eas.framework.exception.EASMultiException; import com.kingdee.bos.dao.ormapping.ObjectUuidPK; import com.kingdee.bos.dao.IObjectPK; import com.kingdee.bos.metadata.entity.SelectorItemCollection; import com.kingdee.eas.common.EASBizException; import com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryCollection; import com.kingdee.eas.framework.CoreBillEntryBaseCollection; import com.kingdee.eas.framework.CoreBaseCollection; import com.kingdee.eas.hr.base.app.HRBillBaseEntryControllerBean; import com.kingdee.eas.framework.CoreBaseInfo; import com.kingdee.bos.metadata.entity.EntityViewInfo; import java.lang.String; import com.kingdee.eas.hr.base.HRBillBaseEntryCollection; import com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryInfo; public abstract class AbstractWagesChromatographyEntryControllerBean extends HRBillBaseEntryControllerBean implements WagesChromatographyEntryController { protected AbstractWagesChromatographyEntryControllerBean() { } protected BOSObjectType getBOSType() { return new BOSObjectType("022F2DAA"); } public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("75ad1b21-2736-4192-8637-ffdf3f09ff68"), new Object[]{ctx, pk}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, pk); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException { return super._getValue(ctx, pk); } public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("b08263ca-673c-4bc6-9902-ecfda3e6eb51"), new Object[]{ctx, pk, selector}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, pk, selector); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException { return super._getValue(ctx, pk, selector); } public WagesChromatographyEntryInfo getWagesChromatographyEntryInfo(Context ctx, String oql) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("873ffb40-8a56-405e-97b2-d92d5173a8c0"), new Object[]{ctx, oql}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryInfo retValue = (WagesChromatographyEntryInfo)_getValue(ctx, oql); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryInfo)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException { return super._getValue(ctx, oql); } public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx) throws BOSException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("2b6f2f3a-fc9d-470a-93a8-bd4f3d641428"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } finally { super.cleanUpServiceState(); } } protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException { return super._getCollection(ctx, svcCtx); } public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx, EntityViewInfo view) throws BOSException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("57f8c69e-1f1d-4ee3-8800-b117c3900fb7"), new Object[]{ctx, view}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx, view); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } finally { super.cleanUpServiceState(); } } protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException { return super._getCollection(ctx, svcCtx, view); } public WagesChromatographyEntryCollection getWagesChromatographyEntryCollection(Context ctx, String oql) throws BOSException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("08b6a6fe-61d3-46b6-9a86-8a6f05801643"), new Object[]{ctx, oql}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { WagesChromatographyEntryCollection retValue = (WagesChromatographyEntryCollection)_getCollection(ctx, svcCtx, oql); svcCtx.setMethodReturnValue(retValue); } invokeServiceAfter(svcCtx); return (WagesChromatographyEntryCollection)svcCtx.getMethodReturnValue(); } catch (BOSException ex) { throw ex; } finally { super.cleanUpServiceState(); } } protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException { return super._getCollection(ctx, svcCtx, oql); } public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx) throws BOSException { return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx).cast(HRBillBaseEntryCollection.class)); } public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx, EntityViewInfo view) throws BOSException { return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(HRBillBaseEntryCollection.class)); } public HRBillBaseEntryCollection getHRBillBaseEntryCollection (Context ctx, String oql) throws BOSException { return (HRBillBaseEntryCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(HRBillBaseEntryCollection.class)); } public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException { return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class)); } public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException { return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class)); } public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException { return (CoreBillEntryBaseCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class)); } public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException { return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx).cast(CoreBaseCollection.class)); } public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException { return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx, view).cast(CoreBaseCollection.class)); } public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException { return (CoreBaseCollection)(getWagesChromatographyEntryCollection(ctx, oql).cast(CoreBaseCollection.class)); } }