Class ArrayListPage<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.alfresco.rest.framework.resource.parameters.ArrayListPage<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,org.alfresco.query.PagingResults<E>
,ListPage<E>
,SerializablePagedCollection<E>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionArrayListPage
(List<? extends E> list) ArrayListPage
(List<? extends E> list, Paging paging) -
Method Summary
Modifier and TypeMethodDescriptionThe search context for the collectionThe requested paging parameters set by the clientThe parent/source entity responsible for the collectionIndicates the total number of items available.boolean
Indicates if the returned collection has more items after the current returned list.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
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.rest.framework.resource.parameters.ListPage
getCollection, getPage, getTotalResultCount
-
Constructor Details
-
ArrayListPage
-
ArrayListPage
-
-
Method Details
-
getPaging
Description copied from interface:SerializablePagedCollection
The requested paging parameters set by the client- Specified by:
getPaging
in interfaceSerializablePagedCollection<E>
-
getTotalItems
Description copied from interface:SerializablePagedCollection
Indicates the total number of items available. Can be greater than the number of items returned in the list.- Specified by:
getTotalItems
in interfaceSerializablePagedCollection<E>
-
hasMoreItems
public boolean hasMoreItems()Description copied from interface:SerializablePagedCollection
Indicates if the returned collection has more items after the current returned list.- Specified by:
hasMoreItems
in interfaceorg.alfresco.query.PagingResults<E>
- Specified by:
hasMoreItems
in interfaceSerializablePagedCollection<E>
-
getQueryExecutionId
- Specified by:
getQueryExecutionId
in interfaceorg.alfresco.query.PagingResults<E>
-
getSourceEntity
Description copied from interface:SerializablePagedCollection
The parent/source entity responsible for the collection- Specified by:
getSourceEntity
in interfaceSerializablePagedCollection<E>
-
getContext
Description copied from interface:SerializablePagedCollection
The search context for the collection- Specified by:
getContext
in interfaceSerializablePagedCollection<E>
-