コード例 #1
0
 public Page<BlogComment> fetchPageByPostId(Page<BlogComment> page, long postId) {
   return commentDao.fetchByPostId(page, postId);
 }
コード例 #2
0
 public void modifyBlogComment(BlogComment comment) {
   commentDao.update(comment);
 }
コード例 #3
0
 public void removeBlogComment(BlogComment comment) {
   commentDao.delete(comment.getId());
 }
コード例 #4
0
 public void createBlogComment(BlogComment comment) {
   commentDao.insert(comment);
 }