public interface CommentDao
Modifier and Type | Method and Description |
---|---|
Comment |
addComment(Comment comment)
Adds a comment.
|
void |
deleteComment(long commentId)
Deletes a comment.
|
List<Comment> |
getCommentsForArticle(long articleId)
Returns a list of comments that was placed on the specified article.
|
List<Comment> getCommentsForArticle(long articleId)
articleId
- Id of the article to get comments of.Comment addComment(Comment comment)
comment
- The comment to add.void deleteComment(long commentId)
commentId
- ID of the comment to removeCopyright © 2011–2014 The Kuali Foundation. All rights reserved.