-
Method Summary
boolean
Returns a boolean value indicating if a next page is available.
Method that uses the information in #oldPage and returns the
next page if available by making a service call.
-
Method Details
-
hasNextPage
Returns a boolean value indicating if a next page is available.
- Parameters:
oldPage - last page sent by service in a paginated operation
- Returns:
- True if there is a next page available. Otherwise false.
-
nextPage
Method that uses the information in #oldPage and returns the
next page if available by making a service call.
- Parameters:
oldPage - last page sent by service in a paginated operation
- Returns:
- the next page if available. Otherwise returns null.