Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.impl
Class DocumentModelTreeImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<DocumentModelTreeNode>
              extended by 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

Constructor Summary
DocumentModelTreeImpl()
           
 
Method Summary
 void add(DocumentModel document, int level)
          Adds a DocumentModel on a certain level.
 Map<String,String> getPathTitles()
          Get a mapping used by comparator like DocumentModelTreeNodeComparator
 
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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

DocumentModelTreeImpl

public DocumentModelTreeImpl()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.