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