2cf606b4d7473a1fa368b1abbb4d0b6bd5fe174d.svn-base 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.kingdee.eas.custom.facade;
  2. import com.kingdee.bos.framework.ejb.EJBRemoteException;
  3. import com.kingdee.bos.util.BOSObjectType;
  4. import java.rmi.RemoteException;
  5. import com.kingdee.bos.framework.AbstractBizCtrl;
  6. import com.kingdee.bos.orm.template.ORMObject;
  7. import com.kingdee.bos.BOSException;
  8. import com.kingdee.bos.util.*;
  9. import com.kingdee.eas.common.EASBizException;
  10. import com.kingdee.eas.custom.facade.*;
  11. import java.lang.String;
  12. import com.kingdee.bos.Context;
  13. import com.kingdee.bos.framework.*;
  14. public class SickQuotaFacade extends AbstractBizCtrl implements ISickQuotaFacade
  15. {
  16. public SickQuotaFacade()
  17. {
  18. super();
  19. registerInterface(ISickQuotaFacade.class, this);
  20. }
  21. public SickQuotaFacade(Context ctx)
  22. {
  23. super(ctx);
  24. registerInterface(ISickQuotaFacade.class, this);
  25. }
  26. public BOSObjectType getType()
  27. {
  28. return new BOSObjectType("9E9DE998");
  29. }
  30. private SickQuotaFacadeController getController() throws BOSException
  31. {
  32. return (SickQuotaFacadeController)getBizController();
  33. }
  34. /**
  35. *Éú³É¶î¶È-User defined method
  36. *@param executeDate ²¡¼ÙÖ´ÐÐÈÕÆÚ
  37. */
  38. public void createQuota(String executeDate) throws BOSException, EASBizException
  39. {
  40. try {
  41. getController().createQuota(getContext(), executeDate);
  42. }
  43. catch(RemoteException err) {
  44. throw new EJBRemoteException(err);
  45. }
  46. }
  47. }