Package com.adobe.granite.haf.api
Interface PaginatableResourceList
PaginatableResourceList is a collection of paginated resources. Provides access to the resources, as well as
an indication on whether or not more resources are available, and the information necessary to retrieve the next
set of resources.
-
Method Details
-
getNextOffsetValue
Returns the value to use to get the next page of resources.- Returns:
- The next value.
-
getCount
int getCount()Returns the number of resources contained in the list.- Returns:
- The number of resources.
-
getResources
Returns the list of resources.- Returns:
- the list of resources
-
hasMore
boolean hasMore()Indicates whether more results are possible. This is based on the presence of a valid nextOffsetValue or not.- Returns:
- Whether more results are possible.
-