499bae32b535d2a6254d6f57a01f2cc466873cf6.svn-base 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.kingdee.eas.custom.erp;
  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.Context;
  8. import com.kingdee.bos.BOSException;
  9. import com.kingdee.eas.custom.erp.*;
  10. import java.lang.String;
  11. import com.kingdee.bos.framework.*;
  12. import com.kingdee.bos.util.*;
  13. public class synAdminOrgBetaToErpFacade extends AbstractBizCtrl implements IsynAdminOrgBetaToErpFacade
  14. {
  15. public synAdminOrgBetaToErpFacade()
  16. {
  17. super();
  18. registerInterface(IsynAdminOrgBetaToErpFacade.class, this);
  19. }
  20. public synAdminOrgBetaToErpFacade(Context ctx)
  21. {
  22. super(ctx);
  23. registerInterface(IsynAdminOrgBetaToErpFacade.class, this);
  24. }
  25. public BOSObjectType getType()
  26. {
  27. return new BOSObjectType("DAB17738");
  28. }
  29. private synAdminOrgBetaToErpFacadeController getController() throws BOSException
  30. {
  31. return (synAdminOrgBetaToErpFacadeController)getBizController();
  32. }
  33. /**
  34. *同步行政组织封存信息到星瀚-User defined method
  35. *@param startDate 开始时间 (格式: yyyy-mm-dd hh:mm:ss)
  36. *@param endDate 结束时间 (格式: yyyy-mm-dd hh:mm:ss)
  37. */
  38. public void synAdminOrgBetaToErp(String startDate, String endDate) throws BOSException
  39. {
  40. try {
  41. getController().synAdminOrgBetaToErp(getContext(), startDate, endDate);
  42. }
  43. catch(RemoteException err) {
  44. throw new EJBRemoteException(err);
  45. }
  46. }
  47. }