PaginationService
instead.public class ManualTotalPaginationSupport<T> extends PaginationSupport<T>
DEFAULT_COUNT_ON_EACH_PAGE, DEFAULT_PAGE_SIZE
Constructor and Description |
---|
ManualTotalPaginationSupport()
Deprecated.
|
ManualTotalPaginationSupport(int pageSize)
Deprecated.
|
ManualTotalPaginationSupport(List<T> items,
int startIndex,
int total,
int pageSize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
getPage()
Deprecated.
Returns a subset of the list of items passed in, based on startIndex and the page size
|
int |
getTotal()
Deprecated.
Returns the total number of items in the list
|
void |
setTotal(int total)
Deprecated.
|
getItems, getNextStartIndex, getNextStartIndexes, getNiceEndIndex, getNiceStartIndex, getPageSize, getPreviousStartIndex, getPreviousStartIndexes, getStartIndex, getStartIndexValue, setItems, setPageSize, setStartIndex
public ManualTotalPaginationSupport()
public ManualTotalPaginationSupport(int pageSize)
public List<T> getPage()
PaginationSupport
getPage
in interface PaginationSupport<T>
getPage
in class PaginationSupport<T>
public int getTotal()
PaginationSupport
getTotal
in interface PaginationSupport<T>
getTotal
in class PaginationSupport<T>
public void setTotal(int total)
setTotal
in class PaginationSupport<T>
Copyright © 2003–2019 Atlassian. All rights reserved.