public class Page extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static Integer |
DEFAULT_PAGE_SIZE |
| Constructor and Description |
|---|
Page() |
Page(Integer index) |
Page(Integer index,
Integer size) |
Page(Integer index,
Integer size,
Boolean count) |
| Modifier and Type | Method and Description |
|---|---|
static Page |
empty() |
static Page |
of(Integer index) |
static Page |
of(Integer index,
Integer size) |
static Page |
of(Integer index,
Integer size,
Boolean count) |
Page |
setCount(Boolean count) |
Page |
setData(List<?> data) |
Page |
setIndex(Integer index) |
Page |
setInfo(MapStringObject info) |
Page |
setInfo(String key,
Object value) |
Page |
setRecords(Long records) |
Page |
setSize(Integer size) |
Page |
setTotal(Integer total) |
public static final Integer DEFAULT_PAGE_SIZE
public Page()
public Page(Integer index)
public Page setInfo(MapStringObject info)
public static Page empty()
Copyright © 2024. All rights reserved.