|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.comment.CommentManagerImpl
public class CommentManagerImpl
Constructor Summary | |
---|---|
CommentManagerImpl(CommentDao commentDao)
|
Method Summary | |
---|---|
Comment |
addComment(String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
Deprecated. since 5.0 |
Comment |
addComment(String content,
com.atlassian.user.User user,
long entityId)
|
void |
deleteAllCommentsForEntity(BambooIdProvider entity)
|
void |
deleteComment(Comment comment)
|
void |
deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated. since 5.0 |
Comment |
getCommentById(long commentId)
|
List<Comment> |
getCommentsForBuildResults(PlanKey planKey)
Get all comments associated with Plan's build results |
List<Comment> |
getCommentsForEntity(long entityId)
Get list of comments for a given entity |
void |
saveComment(Comment comment)
Saves or updates a comment to the database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentManagerImpl(CommentDao commentDao)
Method Detail |
---|
@Deprecated public Comment addComment(String content, ResultsSummary resultsSummary, com.atlassian.user.User user)
addComment
in interface CommentManager
@Deprecated public void deleteComment(@NotNull Comment comment, @NotNull ResultsSummary resultsSummary)
deleteComment
in interface CommentManager
@NotNull public Comment addComment(String content, com.atlassian.user.User user, long entityId)
addComment
in interface CommentManager
public void deleteComment(@NotNull Comment comment)
deleteComment
in interface CommentManager
public void deleteAllCommentsForEntity(@NotNull BambooIdProvider entity)
deleteAllCommentsForEntity
in interface CommentManager
@Nullable public Comment getCommentById(long commentId)
getCommentById
in interface CommentManager
@NotNull public List<Comment> getCommentsForEntity(long entityId)
CommentManager
getCommentsForEntity
in interface CommentManager
entityId
- id of entity
public void saveComment(Comment comment)
CommentManager
saveComment
in interface CommentManager
comment
- to save@NotNull public List<Comment> getCommentsForBuildResults(@NotNull PlanKey planKey)
CommentManager
getCommentsForBuildResults
in interface CommentManager
planKey
- Plan's key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |