|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bucket.core.actions.PaginationSupport com.atlassian.confluence.user.UsernameToUserTranslatingPaginationSupport
public class UsernameToUserTranslatingPaginationSupport
A special pagination support class to translate results of membership search to user objects.
Field Summary |
---|
Fields inherited from class bucket.core.actions.PaginationSupport |
---|
DEFAULT_COUNT_ON_EACH_PAGE, DEFAULT_PAGE_SIZE |
Constructor Summary | |
---|---|
UsernameToUserTranslatingPaginationSupport(int pageSize,
int startIndexValue)
A special pagination support class to translate results of membership search to user objects. |
Method Summary | |
---|---|
java.util.List |
getPage()
Returns a subset of the list of items passed in, based on startIndex and the page size |
void |
setUserAccessor(UserAccessor userAccessor)
|
Methods inherited from class bucket.core.actions.PaginationSupport |
---|
getCountOnEachPage, getEndIndex, getItems, getNextIndex, getNextStartIndex, getNextStartIndexes, getNiceEndIndex, getNiceStartIndex, getPageSize, getPreviousIndex, getPreviousStartIndex, getPreviousStartIndexes, getStartIndex, getStartIndexValue, getTotal, setItems, setPageSize, setStartIndex, setTotal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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()Method Detail |
---|
public java.util.List getPage()
PaginationSupport
getPage
in interface PaginationSupport
getPage
in class PaginationSupport
public void setUserAccessor(UserAccessor userAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |