|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingList<T>
org.jboss.aerogear.android.impl.pipeline.paging.WrappingPagedList<T>
public class WrappingPagedList<T>
Wraps a resultSet in a ForwardingList and provides paging methods. This class also combines
| Constructor Summary | |
|---|---|
WrappingPagedList(Pipe<T> pipe,
List<T> data,
ReadFilter nextFilter,
ReadFilter previousFilter)
|
|
| Method Summary | |
|---|---|
protected List<T> |
delegate()
|
ReadFilter |
getNextFilter()
|
ReadFilter |
getPreviousFilter()
|
void |
next(Callback<List<T>> callback)
Retrieve the next result set. |
void |
previous(Callback<List<T>> callback)
Retrieve the previous result set. |
| Methods inherited from class com.google.common.collect.ForwardingList |
|---|
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList |
| Methods inherited from class com.google.common.collect.ForwardingCollection |
|---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray |
| Methods inherited from class com.google.common.collect.ForwardingObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Constructor Detail |
|---|
public WrappingPagedList(Pipe<T> pipe,
List<T> data,
ReadFilter nextFilter,
ReadFilter previousFilter)
pipe - data - nextFilter - previousFilter - | Method Detail |
|---|
protected List<T> delegate()
delegate in class com.google.common.collect.ForwardingList<T>public void next(Callback<List<T>> callback)
PagedList
next in interface PagedList<T>public void previous(Callback<List<T>> callback)
PagedList
previous in interface PagedList<T>public ReadFilter getNextFilter()
public ReadFilter getPreviousFilter()
|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||