SyncTranForIOTFacade.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.kingdee.eas.custom.synctask;
  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 java.lang.String;
  10. import com.kingdee.bos.Context;
  11. import com.kingdee.bos.framework.*;
  12. import com.kingdee.eas.custom.synctask.*;
  13. public class SyncTranForIOTFacade extends AbstractBizCtrl implements ISyncTranForIOTFacade
  14. {
  15. public SyncTranForIOTFacade()
  16. {
  17. super();
  18. registerInterface(ISyncTranForIOTFacade.class, this);
  19. }
  20. public SyncTranForIOTFacade(Context ctx)
  21. {
  22. super(ctx);
  23. registerInterface(ISyncTranForIOTFacade.class, this);
  24. }
  25. public BOSObjectType getType()
  26. {
  27. return new BOSObjectType("C4BFC0BB");
  28. }
  29. private SyncTranForIOTFacadeController getController() throws BOSException
  30. {
  31. return (SyncTranForIOTFacadeController)getBizController();
  32. }
  33. /**
  34. *Iot平台部门信息同步-User defined method
  35. *@param billds 组织id
  36. */
  37. public void syncOrgUnitToIot(String billds) throws BOSException
  38. {
  39. try {
  40. getController().syncOrgUnitToIot(getContext(), billds);
  41. }
  42. catch(RemoteException err) {
  43. throw new EJBRemoteException(err);
  44. }
  45. }
  46. /**
  47. *Iot平台人员信息同步-User defined method
  48. *@param billds 人员id
  49. */
  50. public void syncPersonToIot(String billds) throws BOSException
  51. {
  52. try {
  53. getController().syncPersonToIot(getContext(), billds);
  54. }
  55. catch(RemoteException err) {
  56. throw new EJBRemoteException(err);
  57. }
  58. }
  59. }