Nuxeo Enterprise Platform 5.4

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:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<DocumentModelTreeNode>, java.util.Collection<DocumentModelTreeNode>, java.util.List<DocumentModelTreeNode>, java.util.RandomAccess, DocumentModelTree

public class DocumentModelTreeImpl
extends java.util.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.
 java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.String> getPathTitles()
Get a mapping used by comparator like DocumentModelTreeNodeComparator

Returns:
a map path/title

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.