| 程序包 | 说明 |
|---|---|
| com.ajaxjs.sqlman.crud |
CRUD operations
|
| com.ajaxjs.sqlman.crud.page |
Pagination operation
|
| 限定符和类型 | 方法和说明 |
|---|---|
PageResult<Map<String,Object>> |
Query.pageByPageNo(javax.servlet.http.HttpServletRequest req)
Do the pagination by pageNo/pageSize.
|
<T> PageResult<T> |
Query.pageByPageNo(javax.servlet.http.HttpServletRequest req,
Class<T> beanClz)
Do the pagination by pageNo/pageSize.
|
PageResult<Map<String,Object>> |
Query.pageByPageNo(Integer pageNo,
Integer pageSize)
Do the pagination by pageNo/pageSize.
|
<T> PageResult<T> |
Query.pageByPageNo(Integer pageNo,
Integer pageSize,
Class<T> beanClz)
Do the pagination by pageNo/pageSize.
|
PageResult<Map<String,Object>> |
Query.pageByStartLimit(javax.servlet.http.HttpServletRequest req)
Do the pagination by start/limit.
|
<T> PageResult<T> |
Query.pageByStartLimit(javax.servlet.http.HttpServletRequest req,
Class<T> beanClz)
Do the pagination by start/limit.
|
PageResult<Map<String,Object>> |
Query.pageByStartLimit(Integer start,
Integer limit)
Do the pagination by start/limit.
|
<T> PageResult<T> |
Query.pageByStartLimit(Integer start,
Integer limit,
Class<T> beanClz)
Do the pagination by start/limit.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> PageResult<T> |
PageQuery.page(Query query,
Class<T> beanClz,
Integer start,
Integer limit)
Do the pagination.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
PageQuery.setParams(PageResult<?> result,
int totalCount,
int start)
Calculate the parameters of pagination related, like total page.
|
Copyright © 2016–2026 AJAXJS. All rights reserved.