package cn.com.tenlion.bigdata.dao.bigdatatemplatearea;

import cn.com.tenlion.bigdata.pojo.dtos.bigdatatemplatearea.BigdataTemplateAreaDTO;
import ink.wgink.exceptions.RemoveException;
import ink.wgink.exceptions.SaveException;
import ink.wgink.exceptions.SearchException;
import ink.wgink.exceptions.UpdateException;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: IBigdataTemplateAreaDao
 * @Description: 大数据展示模板的区域设置
 * @Author: WenG
 * @Date: 2020-10-20 15:08
 * @Version: 1.0
 **/
@Repository
public interface IBigdataTemplateAreaDao {

    /**
     * 新增大数据展示模板的区域设置
     *
     * @param params
     * @throws SaveException
     */
    void saveBigdataTemplateArea(Map<String, Object> params) throws SaveException;

    /**
     * 删除大数据展示模板的区域设置
     *
     * @param params
     * @throws RemoveException
     */
    void removeBigdataTemplateArea(Map<String, Object> params) throws RemoveException;

    /**
    * 删除大数据展示模板的区域设置（物理）
    *
    * @param params
    * @throws RemoveException
    */
    void deleteBigdataTemplateArea(Map<String, Object> params) throws RemoveException;

    /**
     * 修改大数据展示模板的区域设置
     *
     * @param params
     * @throws UpdateException
     */
    void updateBigdataTemplateArea(Map<String, Object> params) throws UpdateException;

    /**
     * 大数据展示模板的区域设置详情
     *
     * @param params
     * @return
     * @throws SearchException
     */
    BigdataTemplateAreaDTO getBigdataTemplateArea(Map<String, Object> params) throws SearchException;

    /**
     * 大数据展示模板的区域设置列表
     *
     * @param params
     * @return
     * @throws SearchException
     */
    List<BigdataTemplateAreaDTO> listBigdataTemplateArea(Map<String, Object> params) throws SearchException;

    /**
    * 大数据展示模板的区域设置统计
    *
    * @param params
    * @return
    * @throws SearchException
    */
    Integer countBigdataTemplateArea(Map<String, Object> params) throws SearchException;

    List<BigdataTemplateAreaDTO> getBigdataTemplateAreaByBigdataTemplateId(Map<String, Object> params) throws SearchException;

    void updateBigdataTemplateAreaPoint(Map<String, Object> params) throws UpdateException;

    void updateBigdataTemplateAreaPointModuleData(Map<String, Object> params) throws UpdateException;

    List<BigdataTemplateAreaDTO> getBigdataTemplateIdGroupByBigdataModuleId(Map<String, Object> params) throws SearchException;
}