package com.kingdee.eas.custom.facade; 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.eas.common.EASBizException; public abstract class AbstractEarlyWarningFacadeControllerBean extends AbstractBizControllerBean implements EarlyWarningFacadeController { protected AbstractEarlyWarningFacadeControllerBean() { } protected BOSObjectType getBOSType() { return new BOSObjectType("113E89AF"); } public void overExpenseApply(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("4a30ed6a-d8f5-4620-b136-d191609efba2"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _overExpenseApply(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _overExpenseApply(Context ctx) throws BOSException, EASBizException { return; } public void forwardApply(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("02527311-2c0d-494e-9a87-afadfe819fa2"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _forwardApply(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _forwardApply(Context ctx) throws BOSException, EASBizException { return; } public void overAuditApply(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("64bfe833-2f29-4056-9703-885000f80b38"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _overAuditApply(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { this.setRollbackOnly(); throw ex; } catch (EASBizException ex0) { this.setRollbackOnly(); throw ex0; } finally { super.cleanUpServiceState(); } } protected void _overAuditApply(Context ctx) throws BOSException, EASBizException { return; } public void attendanceAbnormalApply(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("f6fb3c0b-86a9-4b9c-9789-62f97d1dba1c"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _attendanceAbnormalApply(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _attendanceAbnormalApply(Context ctx) throws BOSException, EASBizException { return; } public void becomeWorkApply(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("5fee4b6f-80d7-49ea-95c0-8cfb118f9c2b"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _becomeWorkApply(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _becomeWorkApply(Context ctx) throws BOSException, EASBizException { return; } public void thatAttendAbnormal(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("ec7fa15c-9272-4bc2-a0a4-e9c7b3d2751f"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _thatAttendAbnormal(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _thatAttendAbnormal(Context ctx) throws BOSException, EASBizException { return; } public void departAttendAbnormal(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("d716e608-829c-4b3e-803b-6e75be209f8b"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _departAttendAbnormal(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _departAttendAbnormal(Context ctx) throws BOSException, EASBizException { return; } public void monthAttendAbnormal(Context ctx) throws BOSException, EASBizException { try { ServiceContext svcCtx = createServiceContext(new MetaDataPK("200fcda7-0adc-41d4-905c-d45beee2577b"), new Object[]{ctx}); invokeServiceBefore(svcCtx); if(!svcCtx.invokeBreak()) { _monthAttendAbnormal(ctx); } invokeServiceAfter(svcCtx); } catch (BOSException ex) { throw ex; } catch (EASBizException ex0) { throw ex0; } finally { super.cleanUpServiceState(); } } protected void _monthAttendAbnormal(Context ctx) throws BOSException, EASBizException { return; } }