public class PagingResponse<T> extends PageableBase
Pageable.OffsetLimitParameters| Constructor and Description | 
|---|
| PagingResponse()Default constructor with default paging values. | 
| PagingResponse(long offset,
              int limit) | 
| PagingResponse(long offset,
              int limit,
              Long count) | 
| PagingResponse(long offset,
              int limit,
              Long count,
              List<T> results) | 
| PagingResponse(Pageable page) | 
| PagingResponse(Pageable page,
              Long count) | 
| PagingResponse(Pageable page,
              Long count,
              List<T> results) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| Long | getCount()Gets the count of total results of search operation. | 
| List<T> | getResults()Gets the list of results. | 
| int | hashCode() | 
| boolean | isEndOfRecords()Flag indicating whether more records do exist. | 
| void | setCount(Long count)Sets the total count for all results, not only the ones in this response page. | 
| void | setEndOfRecords(boolean endOfRecords)Manually sets the end of records flag. | 
| void | setResults(List<T> results)Sets the list of results for the response. | 
| String | toString() | 
addOffset, copyPagingValues, getLimit, getOffset, setLimit, setOffsetpublic PagingResponse()
public PagingResponse(Pageable page)
public PagingResponse(Pageable page, Long count)
public PagingResponse(long offset, int limit)
public PagingResponse(Pageable page, Long count, List<T> results)
public PagingResponse(long offset, int limit, Long count)
public PagingResponse(long offset, int limit, Long count, List<T> results)
public void setCount(Long count)
public List<T> getResults()
public void setResults(List<T> results)
public boolean isEndOfRecords()
public void setEndOfRecords(boolean endOfRecords)
public boolean equals(Object o)
equals in class PageableBasepublic int hashCode()
hashCode in class PageableBasepublic String toString()
toString in class PageableBaseCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.