org.nuxeo.ecm.core.api.tree
Class DefaultDocumentTreeSorter
java.lang.Object
org.nuxeo.ecm.core.api.tree.DefaultDocumentTreeSorter
- All Implemented Interfaces:
- java.io.Serializable, java.util.Comparator<DocumentModel>, Sorter, DocumentTreeSorter
public class DefaultDocumentTreeSorter
- extends java.lang.Object
- implements DocumentTreeSorter
Default implementation for document tree sorter.
Filters on sort property, case insensitively.
- Author:
- Anahide Tchertchian
- 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.Comparator |
equals |
DefaultDocumentTreeSorter
public DefaultDocumentTreeSorter()
getSortPropertyPath
public java.lang.String getSortPropertyPath()
- Specified by:
getSortPropertyPath
in interface DocumentTreeSorter
setSortPropertyPath
public void setSortPropertyPath(java.lang.String sortPropertyPath)
- Specified by:
setSortPropertyPath
in interface DocumentTreeSorter
compare
public int compare(DocumentModel doc1,
DocumentModel doc2)
- Specified by:
compare
in interface java.util.Comparator<DocumentModel>
Copyright © 2010 Nuxeo SAS. All Rights Reserved.