public class PageRequestImpl extends Object implements PageRequest
PageRequest.MAX_PAGE_LIMIT| Constructor and Description |
|---|
PageRequestImpl(int start,
int limit)
Constructs a new
PageRequestImpl for retrieving a page with limit entries from the specified
start index. |
| Modifier and Type | Method and Description |
|---|---|
PageRequest |
buildRestrictedPageRequest(int maxLimit) |
boolean |
equals(Object obj) |
int |
getLimit() |
int |
getStart() |
int |
hashCode() |
String |
toString() |
public PageRequestImpl(int start,
int limit)
PageRequestImpl for retrieving a page with limit entries from the specified
start index.start - the zero-based index of the first entry to include on the pagelimit - the maximum number of entries to include on the pagepublic int getStart()
getStart in interface PageRequestpublic int getLimit()
getLimit in interface PageRequest@Nonnull public PageRequest buildRestrictedPageRequest(int maxLimit)
buildRestrictedPageRequest in interface PageRequestmaxLimit - the maximum limit allowed in a pageCopyright © 2019 Atlassian. All rights reserved.