/**
 * Description: CmBrokerWS接口
 * Copyright:   Copyright (c)2015
 * Company:     江苏三六五网络股份有限公司
 * @author:     江苏三六五网络股份有限公司
 * @version:    1.0
 * Create at:   2015-08-10 下午 18:47:32
 *  
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2015-08-10   江苏三六五网络股份有限公司   1.0         Initial
 */
package com.house365.ws.interfaces.server;

import com.house365.rest.context.IService;
import com.house365.ws.beans.request.CmBrokerListRequest;
import com.house365.ws.beans.request.CmBrokerRequest;
import com.house365.ws.beans.response.CmBrokerListResponse;
import com.house365.ws.beans.response.CmBrokerResponse;


/**
 * CmBrokerWS接口<br>
 * 
 * @author 江苏三六五网络股份有限公司
 * @version 1.0, 2015-08-10
 * @see
 * @since 1.0
 */
public interface ICmBroker extends IService{

    /**
     * CmBroker列表查询
     * 
     * @param request
     *            CmBroker列表查询请求
     * @return CmBroker列表查询响应
     */
    CmBrokerListResponse getCmBrokerList(
            CmBrokerListRequest request);

    /**
     * 保存CmBroker
     * 
     * @param request
     *            CmBroker请求
     * @return 保存CmBroker响应
     */
    CmBrokerResponse addCmBroker(CmBrokerRequest request);

    /**
     * 删除CmBroker通过唯一标识
     * 
     * @param id
     *            唯一标识
     * @return 删除CmBroker响应
     */
    CmBrokerResponse deleteCmBrokerById(Integer id);

    /**
     * 修改CmBroker
     * 
     * @param request
     *            修改CmBroker请求
     * @return 修改CmBroker响应
     */
    CmBrokerResponse updateCmBroker(
            CmBrokerRequest request);

    /**
     * 通过ID获取CmBroker
     * 
     * @param id
     *            唯一标识
     * @return 通过ID获取CmBroker响应
     */
    CmBrokerResponse getCmBrokerById(Integer id);
}
