Package org.gbif.api.model.common.paging
Class PagingRequest
- java.lang.Object
-
- org.gbif.api.model.common.paging.PageableBase
-
- org.gbif.api.model.common.paging.PagingRequest
-
- All Implemented Interfaces:
Pageable
public class PagingRequest extends PageableBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gbif.api.model.common.paging.Pageable
Pageable.OffsetLimitParameters
-
-
Constructor Summary
Constructors Constructor Description PagingRequest()
PagingRequest(long offset, int limit)
PagingRequest(Pageable page)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nextPage()
Increases the offset based on the current limit to be able to request the next page.-
Methods inherited from class org.gbif.api.model.common.paging.PageableBase
addOffset, copyPagingValues, equals, getLimit, getOffset, hashCode, setLimit, setOffset, toString
-
-
-
-
Constructor Detail
-
PagingRequest
public PagingRequest()
-
PagingRequest
public PagingRequest(Pageable page)
-
PagingRequest
public PagingRequest(long offset, int limit)
-
-
Method Detail
-
nextPage
public void nextPage()
Increases the offset based on the current limit to be able to request the next page.
-
-