package egovframework.com.menu.service; import java.util.List; import org.springframework.dao.DataAccessException; import egovframework.rte.fdl.cmmn.exception.EgovBizException; /** * 메뉴 서비스 * * @author Jun */ public interface MenuService { /** * 메뉴 트리 생성을 위한 목록 데이터 * @return * @throws Exception */ public List selectMenuTreeList() throws Exception; /** * 모든 메뉴 목록 데이터 * @param menuVO * @return * @throws Exception */ public List selectAllMenuList(MenuVO menuVO) throws Exception; /** * 권한에 따른 메뉴 목록 데이터(사용자, 롤) * @param menuVO * @return * @throws Exception */ public List selectSessionMenuList(MenuVO menuVO) throws Exception; /** * URL로 권한 체크 * @param menuVO * @return * @throws Exception */ public int selectAuthoUrlCheck(MenuVO menuVO) throws Exception; /** * URL로 메뉴 정보 조회 * @Author : 임종호 * @Date : 2021. 9. 2. * @Method Name : selectMenuProgram * @return : MenuVO */ public MenuVO selectMenuProgram(MenuVO menuVO) throws EgovBizException; /** * 권한 체크 대상인지 확인 * @param menuVO * @return * @throws Exception */ public int selectMenuProgramCnt(MenuVO menuVO) throws Exception; /** * URL의 상위 메뉴정보 리스트 * @param menuVO * @return * @throws Exception */ public List selectMenuNaviList(MenuVO menuVO) throws Exception; /** * URL에 해당하는 메뉴 depth의 데이터 목록 * @param menuVO * @return * @throws Exception */ public List selectMenuSameDepthList(MenuVO menuVO) throws Exception; /** * 권한에 따른 메뉴 상위 1건 * @Author : 임종호 * @Date : 2021. 9. 27. * @Method Name : selectSessionMenuLimitOne * @return : MenuVO */ public MenuVO selectSessionMenuLimitOne(MenuVO menuVO) throws DataAccessException; }