| | |
| | | import com.vci.ubcs.code.vo.webserviceModel.person.OrgData; |
| | | import com.vci.ubcs.code.vo.webserviceModel.person.PersonData; |
| | | import com.vci.ubcs.code.vo.webserviceModel.person.ResultOrgData; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import javax.jws.WebService; |
| | | import javax.servlet.ServletRequest; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.ws.rs.core.Context; |
| | | |
| | | /** |
| | | * 统一接口 |
| | |
| | | |
| | | @WebService(targetNamespace = "http://code.ubcs.vci.com/",name = "universalInterface") |
| | | public interface UniversalInterfaceI { |
| | | /** |
| | | *统一申请编码接口 |
| | | * @param data 传递的数据参数 |
| | | * @param dataType 标识data是xml格式还是json格式,接口返回数据也是按照这个格式,以下接口类同 |
| | | * @return xml格式/json格式 |
| | | * @throws Throwable |
| | | */ |
| | | public String applyCode(String data, String dataType)throws Throwable; |
| | | |
| | | /** |
| | | * 统一申请编码接口 |
| | | * |
| | | * @param data 传递的数据参数 |
| | | * @param dataType 标识data是xml格式还是json格式,接口返回数据也是按照这个格式,以下接口类同 |
| | | * @return xml格式/json格式 |
| | | * @throws Throwable |
| | | */ |
| | | public String applyCode(String data, String dataType) throws Throwable; |
| | | |
| | | public void setThreadLocal(ThreadLocal<HttpServletRequest> threadLocal); |
| | | |
| | | /**** |
| | | * 人员数据同步 |
| | |
| | | * @throws Throwable |
| | | */ |
| | | public ResultOrgData syncDataForPerson(PersonData personData); |
| | | |
| | | /**** |
| | | * 部门数据同步 |
| | | * @param orgData |
| | |
| | | */ |
| | | public ResultOrgData syncDataForOrg(OrgData orgData); |
| | | |
| | | /*** |
| | | * 统一更新接口 |
| | | * @param data |
| | | * @param dataType |
| | | * @return |
| | | * @throws Throwable |
| | | */ |
| | | public String syncEditData(String data,String dataType)throws Throwable; |
| | | /*** |
| | | * 统一更新接口 |
| | | * @param data |
| | | * @param dataType |
| | | * @return |
| | | * @throws Throwable |
| | | */ |
| | | public String syncEditData(String data, String dataType) throws Throwable; |
| | | |
| | | /*** |
| | | * 查询分类口 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryClassify(String data,String dataType)throws Throwable; |
| | | /*** |
| | | * 查询分类口 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryClassify(String data, String dataType) throws Throwable; |
| | | |
| | | /*** |
| | | * 查询数据 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryData(String data,String dataType)throws Throwable; |
| | | /*** |
| | | * 查询数据 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryData(String data, String dataType) throws Throwable; |
| | | |
| | | /*** |
| | | * 返回编码规则接口 |
| | | */ |
| | | public String queryClassifyRule(String data,String datatype)throws Throwable; |
| | | public String queryClassifyRule(String data, String datatype) throws Throwable; |
| | | |
| | | /**** |
| | | * 标准化申请接口 |
| | | * @param data 数据信息 |
| | | * @param dataType 数据格式类型 |
| | | * @return |
| | | * @throws Throwable |
| | | */ |
| | | public String applyCodeForBZ(String data,String dataType) throws Throwable; |
| | | } |