com.atlassian.bamboo.comment
Class CommentManagerImpl
java.lang.Object
com.atlassian.bamboo.comment.CommentManagerImpl
- All Implemented Interfaces:
- CommentManager
public class CommentManagerImpl
- extends java.lang.Object
- implements CommentManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentManagerImpl
public CommentManagerImpl()
addComment
public Comment addComment(java.lang.String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
- Specified by:
addComment
in interface CommentManager
deleteComment
public void deleteComment(@NotNull
Comment comment,
@NotNull
ResultsSummary resultsSummary)
- Specified by:
deleteComment
in interface CommentManager
getCommentById
public Comment getCommentById(long commentId)
- Specified by:
getCommentById
in interface CommentManager
hasPlanResultComments
public boolean hasPlanResultComments(@NotNull
ResultsSummary resultsSummary)
- Description copied from interface:
CommentManager
- Checks if any comments are attached to a plan results summary or any of its subplans' result summaries.
- Specified by:
hasPlanResultComments
in interface CommentManager
- Returns:
getPlanResultComments
@NotNull
public java.util.List<Comment> getPlanResultComments(@NotNull
ResultsSummary resultsSummary)
- Description copied from interface:
CommentManager
- Returns the list of comments attached to a plan and its subplans sorted by date (newest first).
- Specified by:
getPlanResultComments
in interface CommentManager
- Returns:
saveComment
public void saveComment(Comment comment)
- Description copied from interface:
CommentManager
- Saves or updates a comment to the database
- Specified by:
saveComment
in interface CommentManager
- Parameters:
comment
- to save
setCommentDao
public void setCommentDao(CommentDao commentDao)
Copyright © 2011 Atlassian. All Rights Reserved.