Class DocumentSearchResultsFactory

java.lang.Object
com.atlassian.jira.issue.search.DocumentSearchResultsFactory

@Deprecated(since="10.4", forRemoval=true) public class DocumentSearchResultsFactory extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • create

      public static SearchResults<DocumentWithId> create(List<DocumentWithId> documentsInPage, int totalIssueCount, PagerFilter pagerFilter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct searchResults using the documents that should be displayed, and the 'total' number of documents. This is used when a search does not wish to load the entire list of documents into memory.
      Parameters:
      documentsInPage - A list of Issue objects
      totalIssueCount - The count of the number of documents returned
      pagerFilter - Representing the users preference for paging