Interface ListPage<E>
- Type Parameters:
E- - list element type
- All Superinterfaces:
Collection<E>,Iterable<E>,List<E>,org.alfresco.query.PagingResults<E>,SequencedCollection<E>,SerializablePagedCollection<E>
- All Known Implementing Classes:
ArrayListPage
public interface ListPage<E>
extends List<E>, org.alfresco.query.PagingResults<E>, SerializablePagedCollection<E>
List page with paging information.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<E> Returns the Collection objectgetPage()static <E> CollectionWithPagingInfo<E> Builds a collection with paging information.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArrayMethods inherited from interface org.alfresco.query.PagingResults
getQueryExecutionId, hasMoreItemsMethods inherited from interface org.alfresco.rest.framework.resource.SerializablePagedCollection
getContext, getPaging, getSourceEntity, getTotalItems, hasMoreItems
-
Method Details
-
getPage
- Specified by:
getPagein interfaceorg.alfresco.query.PagingResults<E>
-
getTotalResultCount
- Specified by:
getTotalResultCountin interfaceorg.alfresco.query.PagingResults<E>
-
getCollection
Description copied from interface:SerializablePagedCollectionReturns the Collection object- Specified by:
getCollectionin interfaceSerializablePagedCollection<E>- Returns:
- Collection
-
of
Builds a collection with paging information.- Type Parameters:
E- - list element type- Parameters:
list- - the list that needs to be pagedpaging- - paging request info- Returns:
- list page in
CollectionWithPagingInfo
-