java.lang.Object
org.miaixz.bus.pager.binding.PageObject
分页参数对象工具类
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Page<T> getPageFromObject(Object params, boolean required) 对象中获取分页参数protected static ObjectgetParamValue(org.apache.ibatis.reflection.MetaObject paramsObject, String paramName, boolean required) 从对象中取参数static void
-
Field Details
-
hasRequest
request获取方法 -
requestClass
-
getParameterMap
-
PARAMS
-
-
Constructor Details
-
PageObject
public PageObject()
-
-
Method Details
-
getPageFromObject
对象中获取分页参数- Type Parameters:
T- 对象- Parameters:
params- 参数required- 是否必须- Returns:
- 结果
-
getParamValue
protected static Object getParamValue(org.apache.ibatis.reflection.MetaObject paramsObject, String paramName, boolean required) 从对象中取参数- Parameters:
paramsObject- 参数paramName- 参数名required- 是否必须- Returns:
- 结果
-
setParams
-