Package org.nuxeo.drive.adapter.impl
Class ScrollDocumentModelList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DocumentModel>
org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
org.nuxeo.drive.adapter.impl.ScrollDocumentModelList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<DocumentModel>
,Collection<DocumentModel>
,List<DocumentModel>
,RandomAccess
,DocumentModelList
Wrapper for the intermediate results of
FolderItem.scrollDescendants(String, int, long)
including a list of
documents and a scroll id.- Since:
- 8.3
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
totalSize
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionScrollDocumentModelList
(String scrollId, int size) ScrollDocumentModelList
(String scrollId, DocumentModelList docs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setScrollId
(String scrollId) toString()
Methods inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
setTotalSize, totalSize
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, 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
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, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
scrollId
-
-
Constructor Details
-
ScrollDocumentModelList
-
ScrollDocumentModelList
-
-
Method Details
-
getScrollId
-
setScrollId
-
equals
- Specified by:
equals
in interfaceCollection<DocumentModel>
- Specified by:
equals
in interfaceList<DocumentModel>
- Overrides:
equals
in classArrayList<DocumentModel>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<DocumentModel>
- Specified by:
hashCode
in interfaceList<DocumentModel>
- Overrides:
hashCode
in classArrayList<DocumentModel>
-
toString
- Overrides:
toString
in classAbstractCollection<DocumentModel>
-