java.lang.Object |
↳ |
com.atlassian.plugins.rest.common.expand.entity.AbstractPagedListWrapper<T> |
Known Direct Subclasses
|
Class Overview
An abstract list wrapper that provides support for paging information:
- size
- max-results
- start-index
Protected Constructors
protected
AbstractPagedListWrapper
(int size, int maxResults)
Public Methods
public
int
getMaxResults
()
public
abstract
ListWrapperCallback<T>
getPagingCallback
()
Gets the call back that will actually "retrieve" the necessary element to populate the List. Size, index and max
result attributes are already set by this abstract class, no need to worry about them.
Returns
- the call back that does all the work.
public
void
setStartIndex
(int startIndex)