/** * 커뮤니티, 동호회에서 사용중인 게시판 속성 정보의 목록 조회한다. * * @param commandMap * @param sessionVO * @param model * @return * @throws Exception */ @RequestMapping("/cop/bbs/selectAllBdMstrByTrget.do") public String selectAllBdMstrByTrget(@RequestParam Map<String, Object> commandMap, ModelMap model) throws Exception { String trgetId = (String) commandMap.get("param_trgetId"); BoardMasterVO vo = new BoardMasterVO(); vo.setTrgetId(trgetId); List<BoardMasterVO> result = bbsAttrbService.selectAllBdMstrByTrget(vo); model.addAttribute("resultList", result); return "cop/bbs/EgovBdListPortlet"; }
/** * 게시판 사용을 위한 게시판 속성정보 한 건을 상세조회한다. * * @param boardMasterVO * @param model * @return * @throws Exception */ @RequestMapping("/cop/bbs/SelectBBSMasterInfByTrget.do") public String selectBBSMasterInfByTrget( @ModelAttribute("searchVO") BoardMasterVO boardMasterVO, @RequestParam Map<String, Object> commandMap, ModelMap model) throws Exception { checkAuthority(boardMasterVO); // server-side 권한 확인 BoardMasterVO vo = bbsAttrbService.selectBBSMasterInf(boardMasterVO); vo.setTrgetId(boardMasterVO.getTrgetId()); model.addAttribute("result", vo); String flag = propertyService.getString("Globals.addedOptions"); if (flag != null && flag.trim().equalsIgnoreCase("true")) { model.addAttribute("addedOptions", "true"); } return "cop/bbs/EgovBdMstrUpdtByTrget"; }