package incheon.ags.ias.tmap.service;

import incheon.ags.ias.tmap.vo.TmapSearchVO;
import incheon.ags.ias.tmap.vo.TmapVO;

import java.util.List;
import java.util.Map;

/**
 * 주제도 관리 Service 인터페이스
 */
public interface TmapService {

    /**
     * 주제도 목록 조회 (페이징)
     */
    List<Map<String, Object>> selectTmapList(TmapSearchVO searchVO) throws Exception;

    /**
     * 주제도 총 개수 조회 (검색 조건 적용)
     */
    int selectTmapListCnt(TmapSearchVO searchVO) throws Exception;

    /**
     * 주제도 상세 조회
     */
    TmapVO selectTmapDetail(Long tmapSn) throws Exception;

    /**
     * 주제도 등록
     */
    int insertTmap(TmapVO tmapVO) throws Exception;

    /**
     * 주제도 수정
     */
    int updateTmap(TmapVO tmapVO) throws Exception;

    /**
     * 주제도 삭제
     */
    int deleteTmap(Long tmapSn) throws Exception;
}
