public interface Pageable<RESULT>
RESULT| Modifier and Type | Method and Description |
|---|---|
List<RESULT> |
getCurrentPage()
Get the first page
|
List<RESULT> |
getNextPage()
Get the next page - should be called iteratively to get the next page.
|
List<RESULT> |
getPage(int pageNo)
Returns the page by
|
int |
getPageSize()
Returns the page size
|
List<RESULT> |
getPreviousPage()
Get the previous page - should be called iteratively to get the previous page.
|
boolean |
hasNextPage()
Determines if there is a next page
|
boolean |
hasPreviousPage()
Determines if there is a previous page
|
List<RESULT> getNextPage()
RESULT or empty list if hasNextPage() returns false.List<RESULT> getPreviousPage()
RESULT or empty list if hasPreviousPage() returns false.boolean hasNextPage()
boolean hasPreviousPage()
List<RESULT> getPage(int pageNo)
pageNo - RESULT or empty listint getPageSize()
Copyright © 2017 SAP SE. All Rights Reserved.