Package com.atlassian.jira.issue.search
Class DocumentSearchResultsFactory
java.lang.Object
com.atlassian.jira.issue.search.DocumentSearchResultsFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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 ofIssue
objectstotalIssueCount
- The count of the number of documents returnedpagerFilter
- Representing the users preference for paging
-