You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
5.7 KiB

package com.kingdee.eas.custom.risheng;
import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;
import com.kingdee.eas.common.EASBizException;
import java.lang.String;
public abstract class AbstractRishengInterfaceFacadeControllerBean extends AbstractBizControllerBean implements RishengInterfaceFacadeController
{
protected AbstractRishengInterfaceFacadeControllerBean()
{
}
protected BOSObjectType getBOSType()
{
return new BOSObjectType("81647F35");
}
public String syncAdminOrgInfo(Context ctx, String data) throws BOSException, EASBizException
{
try {
ServiceContext svcCtx = createServiceContext(new MetaDataPK("90b14237-2dc7-4f12-a02b-07d4ac132528"), new Object[]{ctx, data});
invokeServiceBefore(svcCtx);
if(!svcCtx.invokeBreak()) {
String retValue = (String)_syncAdminOrgInfo(ctx, data);
svcCtx.setMethodReturnValue(retValue);
}
invokeServiceAfter(svcCtx);
return (String)svcCtx.getMethodReturnValue();
} catch (BOSException ex) {
throw ex;
} catch (EASBizException ex0) {
throw ex0;
} finally {
super.cleanUpServiceState();
}
}
protected String _syncAdminOrgInfo(Context ctx, String data) throws BOSException, EASBizException
{
return null;
}
public String syncEmployeeInfo(Context ctx, String data) throws BOSException, EASBizException
{
try {
ServiceContext svcCtx = createServiceContext(new MetaDataPK("51e57a64-e2d2-4ff7-ab38-bb3727fff137"), new Object[]{ctx, data});
invokeServiceBefore(svcCtx);
if(!svcCtx.invokeBreak()) {
String retValue = (String)_syncEmployeeInfo(ctx, data);
svcCtx.setMethodReturnValue(retValue);
}
invokeServiceAfter(svcCtx);
return (String)svcCtx.getMethodReturnValue();
} catch (BOSException ex) {
throw ex;
} catch (EASBizException ex0) {
throw ex0;
} finally {
super.cleanUpServiceState();
}
}
protected String _syncEmployeeInfo(Context ctx, String data) throws BOSException, EASBizException
{
return null;
}
public String syncPositionInfo(Context ctx, String data) throws BOSException, EASBizException
{
try {
ServiceContext svcCtx = createServiceContext(new MetaDataPK("fe6c7efd-1ac5-4358-94a3-15a13c696422"), new Object[]{ctx, data});
invokeServiceBefore(svcCtx);
if(!svcCtx.invokeBreak()) {
String retValue = (String)_syncPositionInfo(ctx, data);
svcCtx.setMethodReturnValue(retValue);
}
invokeServiceAfter(svcCtx);
return (String)svcCtx.getMethodReturnValue();
} catch (BOSException ex) {
throw ex;
} catch (EASBizException ex0) {
throw ex0;
} finally {
super.cleanUpServiceState();
}
}
protected String _syncPositionInfo(Context ctx, String data) throws BOSException, EASBizException
{
return null;
}
public String syncJoblevelInfo(Context ctx, String data) throws BOSException, EASBizException
{
try {
ServiceContext svcCtx = createServiceContext(new MetaDataPK("17470ca5-628a-4584-923c-c6fc0b9fc8f5"), new Object[]{ctx, data});
invokeServiceBefore(svcCtx);
if(!svcCtx.invokeBreak()) {
String retValue = (String)_syncJoblevelInfo(ctx, data);
svcCtx.setMethodReturnValue(retValue);
}
invokeServiceAfter(svcCtx);
return (String)svcCtx.getMethodReturnValue();
} catch (BOSException ex) {
throw ex;
} catch (EASBizException ex0) {
throw ex0;
} finally {
super.cleanUpServiceState();
}
}
protected String _syncJoblevelInfo(Context ctx, String data) throws BOSException, EASBizException
{
return null;
}
public String syncPersonPositionInfo(Context ctx, String data) throws BOSException, EASBizException
{
try {
ServiceContext svcCtx = createServiceContext(new MetaDataPK("97aff530-a207-4665-8aeb-31fa9267da08"), new Object[]{ctx, data});
invokeServiceBefore(svcCtx);
if(!svcCtx.invokeBreak()) {
String retValue = (String)_syncPersonPositionInfo(ctx, data);
svcCtx.setMethodReturnValue(retValue);
}
invokeServiceAfter(svcCtx);
return (String)svcCtx.getMethodReturnValue();
} catch (BOSException ex) {
throw ex;
} catch (EASBizException ex0) {
throw ex0;
} finally {
super.cleanUpServiceState();
}
}
protected String _syncPersonPositionInfo(Context ctx, String data) throws BOSException, EASBizException
{
return null;
}
}