com.atlassian.jira.issue.comments
Class CommentSearchManager

java.lang.Object
  extended by com.atlassian.jira.issue.comments.CommentSearchManager

public class CommentSearchManager
extends Object

The CommentSearchManager is used to retrieve comments in JIRA. Comments are always associated with an issue. This manager is only used internally.


Constructor Summary
CommentSearchManager(UserManager userManager, OfBizDelegator delegator, IssueManager issueManager, ProjectRoleManager projectRoleManager, CommentPermissionManager commentPermissionManager)
           
 
Method Summary
 Comment convertToComment(org.ofbiz.core.entity.GenericValue gv)
           
 Comment getCommentById(Long commentId)
           
 List<Comment> getComments(Issue issue)
           
 List<Comment> getCommentsForUser(Issue issue, ApplicationUser user)
           
 List<Comment> getCommentsForUserSince(Issue issue, ApplicationUser user, Date since)
           
 MutableComment getMutableComment(Long commentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentSearchManager

public CommentSearchManager(UserManager userManager,
                            OfBizDelegator delegator,
                            IssueManager issueManager,
                            ProjectRoleManager projectRoleManager,
                            CommentPermissionManager commentPermissionManager)
Method Detail

convertToComment

public Comment convertToComment(org.ofbiz.core.entity.GenericValue gv)

getCommentById

public Comment getCommentById(Long commentId)

getMutableComment

public MutableComment getMutableComment(Long commentId)

getComments

public List<Comment> getComments(Issue issue)

getCommentsForUserSince

@Nonnull
public List<Comment> getCommentsForUserSince(@Nonnull
                                                     Issue issue,
                                                     @Nullable
                                                     ApplicationUser user,
                                                     @Nonnull
                                                     Date since)

getCommentsForUser

public List<Comment> getCommentsForUser(Issue issue,
                                        ApplicationUser user)


Copyright © 2002-2014 Atlassian. All Rights Reserved.