org.sdn.api.service.business.service.BusinessCenterSDKService Maven / Gradle / Ivy
package org.sdn.api.service.business.service;
import org.sdn.api.constants.Msg;
import org.sdn.api.service.business.request.history.ShipHistoryAddReqDTO;
import org.sdn.api.service.business.request.history.ShipHistoryListReqDTO;
import org.sdn.api.service.business.request.info.BusinessInfoAddReqDTO;
import org.sdn.api.service.business.request.info.BusinessInfoDelReqDTO;
import org.sdn.api.service.business.request.info.BusinessInfoListReqDTO;
import org.sdn.api.service.business.request.info.BusinessInfoUpdateReqDTO;
import org.sdn.api.service.business.request.ship.*;
import org.sdn.api.service.business.response.history.ShipHistoryResponseDTO;
import org.sdn.api.service.business.response.info.BusinessInfoResponseDTO;
import org.sdn.api.service.business.response.ship.BusinessShipResponseDTO;
import org.sdn.api.service.business.response.ship.BusinessShipResultDTO;
import java.util.List;
/**
* User: fan
* Date: 2018/12/14
* Time: 18:18
*/
public interface BusinessCenterSDKService {
/**
* 增加业务订购操作历史
*
* @Method POST
* @Request ShipHistoryAddReqDTO
* @Response Msg
*/
Msg addBusinessHistory(ShipHistoryAddReqDTO request) throws Exception;
/**
* 订购关系列表
*
* @Method POST
* @Request ShipHistoryListReqDTO
* @Response ShipHistoryResponseDTO
*/
Msg shipHistoryList(ShipHistoryListReqDTO request) throws Exception;
/**
* 添加业务
*
* @Method POST
* @Request BusinessInfoAddReqDTO
* @Response Msg
*/
Msg addBusinessInfo(BusinessInfoAddReqDTO request) throws Exception;
/**
* 业务删除
*
* @Method POST
* @Request BusinessInfoDelReqDTO
* @Response Msg
*/
Msg delBusinessInfo(BusinessInfoDelReqDTO request) throws Exception;
/**
* 业务列表
*
* @Method GET
* @Request BusinessInfoListReqDTO
* @Response List
*/
Msg> businessInfolist(BusinessInfoListReqDTO request) throws Exception;
/**
* 更新业务
*
* @Method POST
* @Request BusinessInfoUpdateReqDTO
* @Response Msg
*/
Msg updateBusinessInfo(BusinessInfoUpdateReqDTO request) throws Exception;
/**
* 业务订购批量请求
*
* @param request
* @return
* @throws Exception
*/
Msg> sdkBatchOperation(BusinessShipBatchOperationReqDTO request) throws Exception;
/**
* 业务订购关系批量通知更新
*
* @Method POST
* @Request BusinessShipBatchNotifyReqDTO
* @Response List
*/
Msg> sdkBatchNotify(BusinessShipBatchNotifyReqDTO request) throws Exception;
/**
* 删除业务订购关系
*
* @Method POST
* @Request BusinessShipDelReqDTO
* @Response BusinessShipResponseDTO
*/
Msg> delBusinessShip(BusinessShipDelReqDTO request) throws Exception;
}