Class DefaultRecentCommentManager
java.lang.Object
com.atlassian.jira.issue.comments.DefaultRecentCommentManager
- All Implemented Interfaces:
RecentCommentManager
@Deprecated(since="10.4",
forRemoval=true)
public class DefaultRecentCommentManager
extends Object
implements RecentCommentManager
Deprecated, for removal: This API element is subject to removal in a future version.
Lucene implementation of
RecentCommentManager.
Search API implementation is in DefaultRecentCommentManager.
Any change to this class should be reflected in DefaultRecentCommentManager.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRecentCommentManager(CommentService commentService, SearchProviderFactory searchProviderFactory, SearchProvider searchProvider, JqlDateSupport jqlDateSupport, JqlOperandResolver operandResolver, SearchService searchService, LuceneQueryModifier luceneQueryModifier, QueryVisitor.QueryVisitorFactory queryVisitorFactory, DefaultRecentCommentManager searchApiRecentCommentManager, IndexingFeatures indexingFeatures) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetRecentComments(SearchRequest searchRequest, ApplicationUser user) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultRecentCommentManager
public DefaultRecentCommentManager(CommentService commentService, SearchProviderFactory searchProviderFactory, SearchProvider searchProvider, JqlDateSupport jqlDateSupport, JqlOperandResolver operandResolver, SearchService searchService, LuceneQueryModifier luceneQueryModifier, QueryVisitor.QueryVisitorFactory queryVisitorFactory, DefaultRecentCommentManager searchApiRecentCommentManager, IndexingFeatures indexingFeatures) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getRecentComments
public CommentIterator getRecentComments(SearchRequest searchRequest, ApplicationUser user) throws SearchException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRecentCommentsin interfaceRecentCommentManager- Parameters:
searchRequest- The search request to limit the comments touser- TheUserto match the Permissions against- Returns:
- Throws:
SearchException- Exceptions occured while trying to peform a search on theSearchRequest
-
DefaultRecentCommentManagerinstead.