/**
   * 게시판 사용정보 목록을 조회한다.
   *
   * @param bdUseVO
   * @param sessionVO
   * @param model
   * @return
   * @throws Exception
   */
  @IncludedInfo(name = "게시판사용정보", order = 190, gid = 40)
  @RequestMapping("/cop/com/selectBBSUseInfs.do")
  public String selectBBSUseInfs(@ModelAttribute("searchVO") BoardUseInfVO bdUseVO, ModelMap model)
      throws Exception {

    bdUseVO.setPageUnit(propertyService.getInt("pageUnit"));
    bdUseVO.setPageSize(propertyService.getInt("pageSize"));

    PaginationInfo paginationInfo = new PaginationInfo();

    paginationInfo.setCurrentPageNo(bdUseVO.getPageIndex());
    paginationInfo.setRecordCountPerPage(bdUseVO.getPageUnit());
    paginationInfo.setPageSize(bdUseVO.getPageSize());

    bdUseVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
    bdUseVO.setLastIndex(paginationInfo.getLastRecordIndex());
    bdUseVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());

    Map<String, Object> map = bbsUseService.selectBBSUseInfs(bdUseVO);
    int totCnt = Integer.parseInt((String) map.get("resultCnt"));

    paginationInfo.setTotalRecordCount(totCnt);

    model.addAttribute("resultList", map.get("resultList"));
    model.addAttribute("resultCnt", map.get("resultCnt"));
    model.addAttribute("paginationInfo", paginationInfo);

    if (EgovComponentChecker.hasComponent("EgovCommunityManageService")) { // 2011.09.15
      model.addAttribute("useCommunity", "true");
    }
    if (EgovComponentChecker.hasComponent("EgovClubManageService")) { // 2011.09.15
      model.addAttribute("useClub", "true");
    }

    return "egovframework/com/cop/com/EgovBoardUseInfList";
  }