public class UsernameToUserTranslatingPaginationSupport extends PaginationSupport
DEFAULT_COUNT_ON_EACH_PAGE, DEFAULT_PAGE_SIZE
Constructor and Description |
---|
UsernameToUserTranslatingPaginationSupport(int pageSize,
int startIndexValue)
A special pagination support class to translate results of membership search to user objects.
|
Modifier and Type | Method and Description |
---|---|
List |
getPage()
Returns a subset of the list of items passed in, based on startIndex and the page size
|
void |
setUserAccessor(UserAccessor userAccessor) |
getCountOnEachPage, getEndIndex, getItems, getNextIndex, getNextStartIndex, getNextStartIndexes, getNiceEndIndex, getNiceStartIndex, getPageSize, getPreviousIndex, getPreviousStartIndex, getPreviousStartIndexes, getStartIndex, getStartIndexValue, getTotal, setItems, setPageSize, setStartIndex, setTotal
public UsernameToUserTranslatingPaginationSupport(int pageSize, int startIndexValue)
pageSize
- Number of results to display on each pagestartIndexValue
- Make sure you use the getStartIndexValue() to re-instate this value, and not getStartIndex()public List getPage()
PaginationSupport
getPage
in interface PaginationSupport
getPage
in class PaginationSupport
public void setUserAccessor(UserAccessor userAccessor)
Copyright © 2003–2015 Atlassian. All rights reserved.