123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- package com.kingdee.eas.custom.synctask;
- import com.kingdee.bos.framework.ejb.EJBRemoteException;
- import com.kingdee.bos.util.BOSObjectType;
- import java.rmi.RemoteException;
- import com.kingdee.bos.framework.AbstractBizCtrl;
- import com.kingdee.bos.orm.template.ORMObject;
- import com.kingdee.bos.BOSException;
- import com.kingdee.bos.util.*;
- import java.lang.String;
- import com.kingdee.bos.Context;
- import com.kingdee.bos.framework.*;
- import com.kingdee.eas.custom.synctask.*;
- public class SyncTranForOAFacade extends AbstractBizCtrl implements ISyncTranForOAFacade
- {
- public SyncTranForOAFacade()
- {
- super();
- registerInterface(ISyncTranForOAFacade.class, this);
- }
- public SyncTranForOAFacade(Context ctx)
- {
- super(ctx);
- registerInterface(ISyncTranForOAFacade.class, this);
- }
- public BOSObjectType getType()
- {
- return new BOSObjectType("07053019");
- }
- private SyncTranForOAFacadeController getController() throws BOSException
- {
- return (SyncTranForOAFacadeController)getBizController();
- }
- /**
- *OA部门信息同步-User defined method
- *@param billds 组织id
- *@param action 操作
- */
- public void syncOrgUnitToOA(String billds, ActionTypeEnum action) throws BOSException
- {
- try {
- getController().syncOrgUnitToOA(getContext(), billds, action);
- }
- catch(RemoteException err) {
- throw new EJBRemoteException(err);
- }
- }
- /**
- *OA岗位信息同步-User defined method
- *@param billds 岗位id
- *@param action 操作类型
- */
- public void syncPositionToOA(String billds, ActionTypeEnum action) throws BOSException
- {
- try {
- getController().syncPositionToOA(getContext(), billds, action);
- }
- catch(RemoteException err) {
- throw new EJBRemoteException(err);
- }
- }
- /**
- *OA人员信息同步-User defined method
- *@param billds 人员id
- *@param action 操作类型
- */
- public void syncPersonToOA(String billds, ActionTypeEnum action) throws BOSException
- {
- try {
- getController().syncPersonToOA(getContext(), billds, action);
- }
- catch(RemoteException err) {
- throw new EJBRemoteException(err);
- }
- }
- }
|