public class JdbcResultPage<T> extends Object
Constructor and Description |
---|
JdbcResultPage(int pageSize,
int page,
List<T> content,
long total) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getContent() |
int |
getPage() |
int |
getPageSize() |
long |
getTotal() |
int |
getTotalPages() |
boolean |
hasNext() |
boolean |
hasPrevious() |
JdbcResultPage<T> |
setContent(List<T> content) |
JdbcResultPage<T> |
setPage(int page) |
JdbcResultPage<T> |
setPageSize(int pageSize) |
JdbcResultPage<T> |
setTotal(long total) |
public int getPageSize()
public JdbcResultPage<T> setPageSize(int pageSize)
public int getPage()
public JdbcResultPage<T> setPage(int page)
public long getTotal()
public JdbcResultPage<T> setTotal(long total)
public JdbcResultPage<T> setContent(List<T> content)
public boolean hasNext()
public boolean hasPrevious()
public int getTotalPages()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.