org.nuxeo.ecm.core.api.impl
Class DocumentModelTreeImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DocumentModelTreeNode>
org.nuxeo.ecm.core.api.impl.DocumentModelTreeImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<DocumentModelTreeNode>, Collection<DocumentModelTreeNode>, List<DocumentModelTreeNode>, RandomAccess, DocumentModelTree
public class DocumentModelTreeImpl
- extends ArrayList<DocumentModelTreeNode>
- implements DocumentModelTree
- Author:
- Paslaru Narcis
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
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, retainAll, set, size, subList, toArray, toArray |
DocumentModelTreeImpl
public DocumentModelTreeImpl()
add
public void add(DocumentModel document,
int level)
- Adds a DocumentModel on a certain level.
getPathTitles
public Map<String,String> getPathTitles()
- Get a mapping used by comparator like DocumentModelTreeNodeComparator
- Returns:
- a map path/title
Copyright © 2011 Nuxeo SAS. All Rights Reserved.