public class DocumentSearchResultsFactory extends Object
Modifier and Type | Method and Description |
---|---|
static SearchResults<DocumentWithId> |
create(List<DocumentWithId> documentsInPage,
int totalIssueCount,
PagerFilter pagerFilter)
Construct searchResults using the documents that should be displayed, and the 'total' number of documents.
|
public static SearchResults<DocumentWithId> create(List<DocumentWithId> documentsInPage, int totalIssueCount, PagerFilter pagerFilter)
documentsInPage
- A list of Issue
objectstotalIssueCount
- The count of the number of documents returnedpagerFilter
- Representing the users preference for pagingCopyright © 2002-2021 Atlassian. All Rights Reserved.