public class PaginationUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PAGE_INDEX_NAME |
static String |
PAGE_SIZE_NAME |
| 构造器和说明 |
|---|
PaginationUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
getPageIndex() |
static int |
getPageIndex(int defaultPageIndex) |
static int |
getPageIndex(int defaultPageIndex,
int maxPageIndex) |
static int |
getPageSize() |
static int |
getPageSize(int defaultPageSize,
int maxPageSize) |
static int |
resolvePageIndex(Integer pageIndex) |
static int |
resolvePageIndex(Integer pageIndex,
int defaultPageIndex,
int maxPageIndex) |
static int |
resolvePageSize(Integer pageSize) |
static int |
resolvePageSize(Integer pageSize,
int defaultPageSize,
int maxPageSize) |
public static String PAGE_INDEX_NAME
public static String PAGE_SIZE_NAME
public static int getPageIndex()
public static int getPageIndex(int defaultPageIndex)
public static int getPageIndex(int defaultPageIndex,
int maxPageIndex)
public static int getPageSize()
public static int getPageSize(int defaultPageSize,
int maxPageSize)
public static int resolvePageIndex(Integer pageIndex)
public static int resolvePageIndex(Integer pageIndex, int defaultPageIndex, int maxPageIndex)
public static int resolvePageSize(Integer pageSize)
public static int resolvePageSize(Integer pageSize, int defaultPageSize, int maxPageSize)
Copyright © 2025. All rights reserved.