public class PageResults extends Object
Folder.getChildren(List, Long, Long, List)
and Search.search(String, SearchOptions, List, Long, Long)
methods.Constructor and Description |
---|
PageResults(List<? extends HierarchyItem> page,
Long totalItems)
Initializes a new instance of the
PageResults class. |
Modifier and Type | Method and Description |
---|---|
List<? extends HierarchyItem> |
getPage()
Items that correspond to the requested page and sorting.
|
Long |
getTotalItems()
Total number of items in the folder or in search results.
|
public PageResults(List<? extends HierarchyItem> page, Long totalItems)
PageResults
class.page
- Items that correspond to the requested page and sorting.totalItems
- Total number of items in the folder or in search results.public List<? extends HierarchyItem> getPage()
public Long getTotalItems()
Copyright © ITHit. All Rights Reserved.