public class PageControl extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DATABASE
数据库
|
static ThreadLocal<Pager> |
LOCAL_PAGER
分页线程变量
|
| 构造器和说明 |
|---|
PageControl() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Pager |
getPager()
获取Pager对象
|
Object |
pagerAspect(org.aspectj.lang.ProceedingJoinPoint pjp) |
static void |
performPage(int curPage,
int itemsPerPage)
执行分页
|
static void |
performPage(int curPage,
int itemsPerPage,
boolean isGetCount)
执行分页
|
static void |
performPage(Pageable pageable)
执行分页
|
static void |
performPage(Pageable pageable,
boolean isGetCount)
执行分页
|
void |
queryMethod() |
public static final ThreadLocal<Pager> LOCAL_PAGER
public static String DATABASE
public static void performPage(Pageable pageable)
pageable - public static void performPage(Pageable pageable, boolean isGetCount)
pageable - public static void performPage(int curPage,
int itemsPerPage)
curPage - itemsPerPage - public static void performPage(int curPage,
int itemsPerPage,
boolean isGetCount)
curPage - itemsPerPage - isGetCount - public static Pager getPager()
public void queryMethod()
Copyright © 2016. All rights reserved.