public interface PageableSearchResults extends WidgetController
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CsSort> |
getAvailableSorts()
Get the available sorts that can be applied to the results.
|
int |
getCurrentPageNumber()
Get the current page number.
|
java.util.List<DataObject<TypedObject>> |
getCurrentPageResults()
Get the current page of results.
|
CsSort |
getCurrentSortOrder()
Get the currently applied sort order.
|
int |
getPageSize()
Get the page size or the number of results to return in each page.
|
int |
getTotalPages()
Get the total number of pages required to display the results of the search.
|
long |
getTotalResultCount()
Get the total number of results that match the search.
|
boolean |
setCurrentPageNumber(int page)
Change the current page to the specified page number.
|
boolean |
setCurrentSortOrder(CsSort sort)
Change the current sort to the specified sort.
|
addCockpitEventAcceptor, dispatchEvent, removeCockpitEventAcceptor, setCockpitEventAcceptorsjava.util.List<DataObject<TypedObject>> getCurrentPageResults()
DataObject
instances that provide access to the TypedObject item as well as the meta data for the item.int getCurrentPageNumber()
boolean setCurrentPageNumber(int page)
throws SearchException
getCurrentPageResults() method.page - the page number, zero for the first page.SearchException - thrown if the search failedlong getTotalResultCount()
int getTotalPages()
getTotalResultCount(),
getPageSize()int getPageSize()
CsSort getCurrentSortOrder()
java.util.List<CsSort> getAvailableSorts()
boolean setCurrentSortOrder(CsSort sort) throws SearchException
getCurrentPageResults() method.sort - the new sortSearchException - thrown if the search failedCopyright © 2018 SAP SE. All Rights Reserved.