public abstract class PagedListWrapper<T,Z> extends Object implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
PagedListWrapper.PagedListWrapperDocExample<T,Z>
This class is for documentation purpose only, do not use it.
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
endIndex |
protected int |
size |
protected int |
startIndex |
| Modifier | Constructor and Description |
|---|---|
protected |
PagedListWrapper() |
|
PagedListWrapper(int size,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
fromBackedObject(Z backedObject) |
abstract int |
getBackingListSize() |
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> |
getCallback() |
Collection<T> |
getItems() |
int |
getMaxResults() |
abstract List<Z> |
getOrderedList(int startIndex,
int endIndex) |
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> |
getPagingCallback() |
int |
getSize() |
protected int size
protected int startIndex
protected int endIndex
protected PagedListWrapper()
public PagedListWrapper(int size,
int maxResults)
public int getSize()
public Collection<T> getItems()
public int getMaxResults()
public final com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> getCallback()
getCallback in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<T>public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> getPagingCallback()
public abstract int getBackingListSize()
Copyright © 2002-2015 Atlassian. All Rights Reserved.