public class PageRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PAGE_LIMIT |
static int |
DEFAULT_PAGE_START |
static int |
MAX_PAGE_LIMIT |
Modifier | Constructor and Description |
---|---|
protected |
PageRequest() |
protected |
PageRequest(int start,
int limit)
Visible for
OnePageRequest . |
Modifier and Type | Method and Description |
---|---|
static PageRequest |
create(java.lang.Integer start,
java.lang.Integer limit) |
static PageRequest |
createDefault() |
boolean |
equals(java.lang.Object obj) |
int |
getLimit() |
int |
getStart() |
int |
hashCode() |
public static final int MAX_PAGE_LIMIT
public static final int DEFAULT_PAGE_START
public static final int DEFAULT_PAGE_LIMIT
@Internal protected PageRequest()
@Internal protected PageRequest(int start, int limit)
OnePageRequest
.public int getStart()
public int getLimit()
public static PageRequest create(@Nullable java.lang.Integer start, @Nullable java.lang.Integer limit)
public static PageRequest createDefault()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object