public abstract class PageObjectUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static Method |
getParameterMap |
protected static Boolean |
hasRequest |
protected static Map<String,String> |
PARAMS |
protected static Class<?> |
requestClass |
Constructor and Description |
---|
PageObjectUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
getPageFromObject(Object params,
boolean required)
对象中获取分页参数
|
protected static Object |
getParamValue(org.apache.ibatis.reflection.MetaObject paramsObject,
String paramName,
boolean required)
从对象中取参数
|
static void |
setParams(String params) |
protected static Boolean hasRequest
protected static Class<?> requestClass
protected static Method getParameterMap
public static <T> Page<T> getPageFromObject(Object params, boolean required)
params
- protected static Object getParamValue(org.apache.ibatis.reflection.MetaObject paramsObject, String paramName, boolean required)
paramsObject
- paramName
- required
- public static void setParams(String params)
Copyright © 2018. All rights reserved.