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); } } }