T
- - the type of the itemPaginationService
instead.@Deprecated public interface PaginationSupport<T>
Modifier and Type | Method and Description |
---|---|
int |
getNextStartIndex()
Deprecated.
Returns the next start index.
|
int[] |
getNextStartIndexes()
Deprecated.
Returns an array of start indexes for pages that appear after the current page
If there are no further pages, null is returned
|
int |
getNiceEndIndex()
Deprecated.
Returns an end index for use in the UI.
|
int |
getNiceStartIndex()
Deprecated.
Returns a start index for use in the UI.
|
List<T> |
getPage()
Deprecated.
Returns a sub-list of items that are shown on the page.
|
int |
getPageSize()
Deprecated.
Returns the number of items available on the current page.
|
int |
getPreviousStartIndex()
Deprecated.
Returns the previous start index.
|
int[] |
getPreviousStartIndexes()
Deprecated.
Returns an array of start indexes for pages that appear before the current page
If there are no preceding pages, null is returned
|
int |
getStartIndex()
Deprecated.
Returns the start index.
|
int |
getStartIndexValue()
Deprecated.
Always return the start index value, regardless of whether the pagination has any total.
|
int |
getTotal()
Deprecated.
Returns the total number of items in the list
|
int getStartIndex()
int getNiceStartIndex()
int getTotal()
List<T> getPage()
int getStartIndexValue()
int getNextStartIndex()
int getPreviousStartIndex()
int[] getNextStartIndexes()
int[] getPreviousStartIndexes()
int getNiceEndIndex()
int getPageSize()
Copyright © 2003–2021 Atlassian. All rights reserved.