Interface ListPage<E>
- Type Parameters:
E
- - list element type
- All Superinterfaces:
Collection<E>
,Iterable<E>
,List<E>
,org.alfresco.query.PagingResults<E>
,SerializablePagedCollection<E>
- All Known Implementing Classes:
ArrayListPage
@Experimental
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, toArray
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, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
Methods inherited from interface org.alfresco.query.PagingResults
getQueryExecutionId, hasMoreItems
Methods inherited from interface org.alfresco.rest.framework.resource.SerializablePagedCollection
getContext, getPaging, getSourceEntity, getTotalItems, hasMoreItems
-
Method Details
-
getPage
- Specified by:
getPage
in interfaceorg.alfresco.query.PagingResults<E>
-
getTotalResultCount
- Specified by:
getTotalResultCount
in interfaceorg.alfresco.query.PagingResults<E>
-
getCollection
Description copied from interface:SerializablePagedCollection
Returns the Collection object- Specified by:
getCollection
in 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
-