Interface RecentCommentManager

All Known Implementing Classes:
DefaultRecentCommentManager

@PublicApi public interface RecentCommentManager
A standard way of getting a list of recent comments from JIRA
  • Method Details

    • getRecentComments

      CommentIterator getRecentComments(SearchRequest searchRequest, ApplicationUser user) throws SearchException
      Parameters:
      searchRequest - The search request to limit the comments to
      user - The User to match the Permissions against
      Returns:
      An iterator over all the comments from any issues in the search request that the user can see
      Throws:
      SearchException - Exceptions occured while trying to peform a search on the SearchRequest
    • getRecentComments

      CommentIterator getRecentComments(SearchRequest searchRequest, ApplicationUser user, int maxResults) throws SearchException
      Parameters:
      searchRequest - The search request to limit the comments to
      user - The User to match the Permissions against
      maxResults - Maximum results to return, might be limited by the underlying search platform.
      Returns:
      An iterator over all the comments from any issues in the search request that the user can see
      Throws:
      SearchException - Exceptions occured while trying to peform a search on the SearchRequest