Example #1
0
 public List<BoardVo> listBoard(Long classNo) {
   List<BoardVo> list = boardDao.getList(classNo);
   // List<BoardVo> list = boardDao.getList(Long classNo);
   // Map<String, Object> map = new HashMap<String, Object>();
   // map.put( "list", list );
   return list;
 }
Example #2
0
 public BoardVo getClassNo(Long postNo) {
   BoardVo boardVo = boardDao.getClassNo(postNo);
   return boardVo;
 }
Example #3
0
 public void deleteBoard(Long postNo) {
   boardDao.delete(postNo);
 }
Example #4
0
 public BoardVo getPostByPostNo(Long postNo) {
   BoardVo retVo = null;
   retVo = boardDao.getPostByPostNo(postNo);
   return retVo;
 }
Example #5
0
 public void updateViewCount(Long postNo) {
   boardDao.updateViewCount(postNo);
 }
Example #6
0
 public void updateBoard(BoardVo vo) {
   boardDao.updateBoard(vo);
 }
Example #7
0
 public void writeBoard(BoardVo vo) {
   boardDao.insert(vo);
 }
Example #8
0
 public ClassVo viewBoardName(Long classNo) {
   ClassVo vo = boardDao.getStirng(classNo);
   return vo;
 }
Example #9
0
 public BoardVo viewBoard(Long postNo) {
   BoardVo vo = boardDao.get(postNo);
   return vo;
 }