com.atlassian.bamboo.comment
Interface CommentService

All Known Implementing Classes:
CommentServiceImpl

public interface CommentService


Method Summary
 Comment addComment(java.lang.String content, ResultsSummary resultsSummary, com.atlassian.user.User user)
          Deprecated. since 5.0 use addComment(content, user, resultsSummary.getId())
 Comment addComment(java.lang.String content, com.atlassian.user.User user, BambooIdProvider entity)
           
 Comment addComment(java.lang.String content, com.atlassian.user.User user, long entityId)
           
 void deleteComment(Comment comment)
           
 void deleteComment(Comment comment, ResultsSummary resultsSummary)
          Deprecated. since 5.0 use deleteComment(comment)
 Comment getCommentById(long commentId)
           
 java.util.List<Comment> getCommentsForEntity(BambooIdProvider entity)
           
 java.util.List<Comment> getCommentsForEntity(long entityId)
           
 

Method Detail

getCommentById

Comment getCommentById(long commentId)

addComment

@Deprecated
Comment addComment(@NotNull
                              java.lang.String content,
                              @NotNull
                              ResultsSummary resultsSummary,
                              @NotNull
                              com.atlassian.user.User user)
Deprecated. since 5.0 use addComment(content, user, resultsSummary.getId())


deleteComment

@Deprecated
void deleteComment(@NotNull
                              Comment comment,
                              @NotNull
                              ResultsSummary resultsSummary)
Deprecated. since 5.0 use deleteComment(comment)


addComment

Comment addComment(@NotNull
                   java.lang.String content,
                   @NotNull
                   com.atlassian.user.User user,
                   long entityId)

addComment

Comment addComment(@NotNull
                   java.lang.String content,
                   @NotNull
                   com.atlassian.user.User user,
                   BambooIdProvider entity)

deleteComment

void deleteComment(@NotNull
                   Comment comment)

getCommentsForEntity

@NotNull
java.util.List<Comment> getCommentsForEntity(long entityId)

getCommentsForEntity

@NotNull
java.util.List<Comment> getCommentsForEntity(BambooIdProvider entity)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.