RecuritmentFacade.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.kingdee.eas.custom.recuritment.task;
  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.recuritment.task.*;
  11. import java.lang.String;
  12. import com.kingdee.bos.Context;
  13. import com.kingdee.bos.framework.*;
  14. public class RecuritmentFacade extends AbstractBizCtrl implements IRecuritmentFacade
  15. {
  16. public RecuritmentFacade()
  17. {
  18. super();
  19. registerInterface(IRecuritmentFacade.class, this);
  20. }
  21. public RecuritmentFacade(Context ctx)
  22. {
  23. super(ctx);
  24. registerInterface(IRecuritmentFacade.class, this);
  25. }
  26. public BOSObjectType getType()
  27. {
  28. return new BOSObjectType("38763AD7");
  29. }
  30. private RecuritmentFacadeController getController() throws BOSException
  31. {
  32. return (RecuritmentFacadeController)getBizController();
  33. }
  34. /**
  35. *syncRecuritmentToBeisen-User defined method
  36. *@param billId 单据id
  37. */
  38. public void syncRecuritmentToBeisen(String billId) throws BOSException, EASBizException
  39. {
  40. try {
  41. getController().syncRecuritmentToBeisen(getContext(), billId);
  42. }
  43. catch(RemoteException err) {
  44. throw new EJBRemoteException(err);
  45. }
  46. }
  47. /**
  48. *updateRecuritment-User defined method
  49. *@param startDate 开始时间
  50. *@param endDate 结束时间
  51. *@param offset 日期偏移量
  52. */
  53. public void updateRecuritment(String startDate, String endDate, int offset) throws BOSException, EASBizException
  54. {
  55. try {
  56. getController().updateRecuritment(getContext(), startDate, endDate, offset);
  57. }
  58. catch(RemoteException err) {
  59. throw new EJBRemoteException(err);
  60. }
  61. }
  62. /**
  63. *同步北森简历和附件-User defined method
  64. *@param applyId 北森申请id
  65. */
  66. public void syncBeisenResume(String applyId) throws BOSException, EASBizException
  67. {
  68. try {
  69. getController().syncBeisenResume(getContext(), applyId);
  70. }
  71. catch(RemoteException err) {
  72. throw new EJBRemoteException(err);
  73. }
  74. }
  75. }