package incheon.ags.ias.menu.service;

import incheon.ags.ias.menu.vo.MenuVO;
import incheon.ags.ias.menu.vo.MenuSearchVO;

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

public interface MenuService {
    // 리스트
    List<Map<String,Object>> selectMenuList(MenuSearchVO menuVO) throws Exception;

    // 특정 시스템의 메뉴 리스트 조회용
    List<Map<String,Object>> selectMenuListFromSysCd(String sysCd) throws Exception;
    // 시스템 리스트
    List<Map<String,Object>> selectSysList() throws Exception;
    // 리스트 cnt
    int selectMenuListCnt(MenuSearchVO menuSearchVO) throws Exception;
    // 하위 메뉴 리스트
    List<Map<String,Object>> selectSubmenuList(MenuVO menuVO) throws Exception;
    // 상세
    MenuVO selectMenuDetail(MenuVO menuVO) throws Exception;;
    // 메뉴 등록
    int insertMenu(MenuVO menuVO) throws Exception;
    // 메뉴 수정
    int updateMenu(MenuVO menuVO) throws Exception;
    // 메뉴 삭제
    int deleteMenu(MenuVO menuVO) throws Exception;

}
