public class CommentSearchManager extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NUMBER_OF_NEW_COMMENTS_TO_SHOW |
Constructor and Description |
---|
CommentSearchManager(UserManager userManager,
OfBizDelegator delegator,
IssueManager issueManager,
ProjectRoleManager projectRoleManager,
CommentPermissionManager commentPermissionManager,
FeatureManager featureManager,
ApplicationPropertiesService applicationPropertiesService,
StreamingCommentsRetriever streamingCommentsRetriever) |
Modifier and Type | Method and Description |
---|---|
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) |
CommentSummary |
getCommentSummary(ApplicationUser user,
Issue issue,
Optional<Long> focusedCommentId) |
MutableComment |
getMutableComment(Long commentId) |
java.util.stream.Stream<Comment> |
streamComments(ApplicationUser user,
Issue issue) |
public static final int NUMBER_OF_NEW_COMMENTS_TO_SHOW
public CommentSearchManager(UserManager userManager, OfBizDelegator delegator, IssueManager issueManager, ProjectRoleManager projectRoleManager, CommentPermissionManager commentPermissionManager, FeatureManager featureManager, ApplicationPropertiesService applicationPropertiesService, StreamingCommentsRetriever streamingCommentsRetriever)
public Comment convertToComment(org.ofbiz.core.entity.GenericValue gv)
public MutableComment getMutableComment(Long commentId)
@Nonnull public List<Comment> getCommentsForUserSince(@Nonnull Issue issue, @Nullable ApplicationUser user, @Nonnull Date since)
public List<Comment> getCommentsForUser(Issue issue, ApplicationUser user)
public java.util.stream.Stream<Comment> streamComments(@Nullable ApplicationUser user, @Nonnull Issue issue)
public CommentSummary getCommentSummary(@Nullable ApplicationUser user, @Nonnull Issue issue, @Nonnull Optional<Long> focusedCommentId)
Copyright © 2002-2019 Atlassian. All Rights Reserved.