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>
@Experimental public class ArrayListPage<E> extends ArrayList<E> implements ListPage<E>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ArrayListPage(List<? extends E> list)ArrayListPage(List<? extends E> list, Paging paging)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchContextgetContext()The search context for the collectionPaginggetPaging()The requested paging parameters set by the clientStringgetQueryExecutionId()ObjectgetSourceEntity()The parent/source entity responsible for the collectionIntegergetTotalItems()Indicates the total number of items available.booleanhasMoreItems()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
-
-
-
-
Method Detail
-
getPaging
public Paging getPaging()
Description copied from interface:SerializablePagedCollectionThe requested paging parameters set by the client- Specified by:
getPagingin interfaceSerializablePagedCollection<E>
-
getTotalItems
public Integer getTotalItems()
Description copied from interface:SerializablePagedCollectionIndicates the total number of items available. Can be greater than the number of items returned in the list.- Specified by:
getTotalItemsin interfaceSerializablePagedCollection<E>
-
hasMoreItems
public boolean hasMoreItems()
Description copied from interface:SerializablePagedCollectionIndicates if the returned collection has more items after the current returned list.- Specified by:
hasMoreItemsin interfaceorg.alfresco.query.PagingResults<E>- Specified by:
hasMoreItemsin interfaceSerializablePagedCollection<E>
-
getQueryExecutionId
public String getQueryExecutionId()
- Specified by:
getQueryExecutionIdin interfaceorg.alfresco.query.PagingResults<E>
-
getSourceEntity
public Object getSourceEntity()
Description copied from interface:SerializablePagedCollectionThe parent/source entity responsible for the collection- Specified by:
getSourceEntityin interfaceSerializablePagedCollection<E>
-
getContext
public SearchContext getContext()
Description copied from interface:SerializablePagedCollectionThe search context for the collection- Specified by:
getContextin interfaceSerializablePagedCollection<E>
-
-