/** * 권한별 할당된 롤 목록 조회 * * @param authorRoleManageVO AuthorRoleManageVO * @return String * @exception Exception */ @RequestMapping(value = "/sec/ram/EgovAuthorRoleList.do") public String selectAuthorRoleList( @ModelAttribute("authorRoleManageVO") AuthorRoleManageVO authorRoleManageVO, ModelMap model) throws Exception { /** paging */ PaginationInfo paginationInfo = new PaginationInfo(); paginationInfo.setCurrentPageNo(authorRoleManageVO.getPageIndex()); paginationInfo.setRecordCountPerPage(authorRoleManageVO.getPageUnit()); paginationInfo.setPageSize(authorRoleManageVO.getPageSize()); authorRoleManageVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); authorRoleManageVO.setLastIndex(paginationInfo.getLastRecordIndex()); authorRoleManageVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); authorRoleManageVO.setAuthorRoleList( egovAuthorRoleManageService.selectAuthorRoleList(authorRoleManageVO)); model.addAttribute("authorRoleList", authorRoleManageVO.getAuthorRoleList()); int totCnt = egovAuthorRoleManageService.selectAuthorRoleListTotCnt(authorRoleManageVO); paginationInfo.setTotalRecordCount(totCnt); model.addAttribute("paginationInfo", paginationInfo); model.addAttribute("message", egovMessageSource.getMessage("success.common.select")); return "egovframework/com/sec/ram/EgovAuthorRoleManage"; }