org.nuxeo.ecm.core.api.repository.cache
Class DocumentChildrenList
java.lang.Object
org.nuxeo.ecm.core.api.repository.cache.DocumentChildrenList
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<DocumentModel>, java.util.Collection<DocumentModel>, java.util.List<DocumentModel>, DocumentModelList
public class DocumentChildrenList
- extends java.lang.Object
- implements DocumentModelList
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
equals, hashCode |
DocumentChildrenList
public DocumentChildrenList(DocumentModelCache cache,
java.util.List<DocumentModel> list)
add
public boolean add(DocumentModel o)
- Specified by:
add
in interface java.util.Collection<DocumentModel>
- Specified by:
add
in interface java.util.List<DocumentModel>
add
public void add(int index,
DocumentModel element)
- Specified by:
add
in interface java.util.List<DocumentModel>
addAll
public boolean addAll(java.util.Collection<? extends DocumentModel> c)
- Specified by:
addAll
in interface java.util.Collection<DocumentModel>
- Specified by:
addAll
in interface java.util.List<DocumentModel>
addAll
public boolean addAll(int index,
java.util.Collection<? extends DocumentModel> c)
- Specified by:
addAll
in interface java.util.List<DocumentModel>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<DocumentModel>
- Specified by:
clear
in interface java.util.List<DocumentModel>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<DocumentModel>
- Specified by:
contains
in interface java.util.List<DocumentModel>
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interface java.util.Collection<DocumentModel>
- Specified by:
containsAll
in interface java.util.List<DocumentModel>
get
public DocumentModel get(int index)
- Specified by:
get
in interface java.util.List<DocumentModel>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<DocumentModel>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<DocumentModel>
- Specified by:
isEmpty
in interface java.util.List<DocumentModel>
iterator
public java.util.Iterator<DocumentModel> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<DocumentModel>
- Specified by:
iterator
in interface java.util.Collection<DocumentModel>
- Specified by:
iterator
in interface java.util.List<DocumentModel>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<DocumentModel>
listIterator
public java.util.ListIterator<DocumentModel> listIterator()
- Specified by:
listIterator
in interface java.util.List<DocumentModel>
listIterator
public java.util.ListIterator<DocumentModel> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<DocumentModel>
remove
public DocumentModel remove(int index)
- Specified by:
remove
in interface java.util.List<DocumentModel>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<DocumentModel>
- Specified by:
remove
in interface java.util.List<DocumentModel>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<DocumentModel>
- Specified by:
removeAll
in interface java.util.List<DocumentModel>
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interface java.util.Collection<DocumentModel>
- Specified by:
retainAll
in interface java.util.List<DocumentModel>
set
public DocumentModel set(int index,
DocumentModel element)
- Specified by:
set
in interface java.util.List<DocumentModel>
size
public int size()
- Specified by:
size
in interface java.util.Collection<DocumentModel>
- Specified by:
size
in interface java.util.List<DocumentModel>
totalSize
public long totalSize()
- Description copied from interface:
DocumentModelList
- Returns the total size of the bigger list this is a part of.
- Specified by:
totalSize
in interface DocumentModelList
- Returns:
- the total size
subList
public java.util.List<DocumentModel> subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface java.util.List<DocumentModel>
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection<DocumentModel>
- Specified by:
toArray
in interface java.util.List<DocumentModel>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface java.util.Collection<DocumentModel>
- Specified by:
toArray
in interface java.util.List<DocumentModel>
Copyright © 2010 Nuxeo SAS. All Rights Reserved.