Interface Page<T>
@PublicApi
public interface Page<T>
Provides support for pagination.
- Since:
- 6.7
-
Method Summary
-
Method Details
-
getStart
Long getStart()- Returns:
- the offset into the overall results set this page starts at (0 based).
-
maxResults
Integer maxResults()- Returns:
- the number of requested entities. Number of returned entities may be smaller if the page is last and there are no more results.
-
getTotal
- Returns:
- the total number of requested entities available on server. Total is optional and not all resources return it.
-
isLast
Boolean isLast()- Returns:
- true if this page is the last one.
-
getValues
- Returns:
- a list of the values on this page. Each service returning a page should specify the ordering on the list
-