public interface PagedList<T,SortType extends Enum> extends List<T>
PageCriteria,
List that meets the PageCriteria and the size
of the total unpaginatedList.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_CURRENT_PAGE
The request attribute in which this action places the current page number
|
static String |
ATTR_NUM_PAGES
The request attribute in which this action places the total number of
pages
|
static String |
ATTR_USERS
The request attribute in which this action places a List of
Users:
Users |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastPageNumber()
Returns the number of the last page.
|
List<T> |
getList()
Returns the list meeting the Pagination Criteria
|
PageCriteria<SortType> |
getPageCriteria()
Returns the Pagination criteria for the list.
|
int |
getTotal()
Returns the size of the total unpaginated list.
|
void |
setList(List<T> items)
Sets the list meeting the Pagination Criteria
|
void |
setPageCriteria(PageCriteria<SortType> pageCriteria)
Sets the Pagination criteria for the list.
|
void |
setTotal(int total)
Sets the size of the total unpaginated list.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamstatic final String ATTR_USERS
Usersstatic final String ATTR_NUM_PAGES
static final String ATTR_CURRENT_PAGE
PageCriteria<SortType> getPageCriteria()
void setPageCriteria(PageCriteria<SortType> pageCriteria)
pageCriteria - int getTotal()
int getLastPageNumber()
void setTotal(int total)
total - Copyright © 2012–2016 1&1. All rights reserved.