com.j2biz.blogunity.dao
Class CommentDAO
java.lang.Object
com.j2biz.blogunity.dao.AbstractDAO
com.j2biz.blogunity.dao.CommentDAO
- public class CommentDAO
- extends AbstractDAO
- Since:
- 0.1
- Author:
- michelson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentDAO
public CommentDAO()
getCommentByID
public Comment getCommentByID(long id)
throws BlogunityException
- Throws:
BlogunityException
getCommentByID
public Comment getCommentByID(Long id)
throws BlogunityException
- Throws:
BlogunityException
createComment
public Serializable createComment(Comment comment)
throws BlogunityException
- Throws:
BlogunityException
deleteComment
public void deleteComment(Comment comment)
throws BlogunityException
- Throws:
BlogunityException
deleteCommentWithAllSubComments
public void deleteCommentWithAllSubComments(Comment comment)
throws BlogunityException
- Throws:
BlogunityException
updateComment
public void updateComment(Comment comment)
throws BlogunityException
- Throws:
BlogunityException
getCommentsByUserpic
public List getCommentsByUserpic(Userpic pic)
throws BlogunityException
- Throws:
BlogunityException
getPaginatedComments
public List getPaginatedComments(Long entryId,
int firstResult,
int maxResults)
throws BlogunityException
- Throws:
BlogunityException
getRecentBlogComments
public List getRecentBlogComments(Blog b)
throws BlogunityException
- Throws:
BlogunityException
Copyright (c)j2biz.com