public class PageParameter extends TypedParameter
org.springframework.web.method.annotation.MapMethodProcessor#supportsParameter(org.springframework.core.MethodParameter),
org.springframework.web.method.annotation.RequestParamMapMethodArgumentResolver#supportsParameter(org.springframework.core.MethodParameter),
序列化表格| 限定符和类型 | 字段和说明 |
|---|---|
static List<String> |
PAGE_PARAMS |
static String |
SORT_PARAM |
| 构造器和说明 |
|---|
PageParameter() |
PageParameter(int initialCapacity) |
PageParameter(int initialCapacity,
int loadFactor) |
PageParameter(Map<String,Object> params) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getLimit() |
int |
getOffset() |
int |
getPageNum() |
int |
getPageSize() |
String |
getSort() |
PageParameter |
searchAll() |
void |
setLimit(int limit) |
void |
setOffset(int offset) |
void |
setPageNum(int pageNum) |
void |
setPageSize(int pageSize) |
void |
setSort(String sort) |
void |
validateSort(String... allows) |
getValue, params, put, removeKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveBoolean, removeBoolean, removeDouble, removeDouble, removeFloat, removeFloat, removeInt, removeInt, removeLong, removeLong, removeString, removeStringget, getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getRequired, getRequired, getRequiredBoolean, getRequiredDouble, getRequiredFloat, getRequiredInt, getRequiredLong, getRequiredString, getString, getString, hasKeypublic PageParameter()
public PageParameter(int initialCapacity)
public PageParameter(int initialCapacity,
int loadFactor)
public PageParameter searchAll()
public void validateSort(String... allows)
public int getPageNum()
public void setPageNum(int pageNum)
public int getPageSize()
public void setPageSize(int pageSize)
public int getOffset()
public void setOffset(int offset)
public int getLimit()
public void setLimit(int limit)
public String getSort()
public void setSort(String sort)
Copyright © 2023. All rights reserved.