public class DefaultDocumentTreeSorter extends Object implements DocumentTreeSorter
Filters on sort property, case insensitively.
Constructor and Description |
---|
DefaultDocumentTreeSorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(DocumentModel doc1,
DocumentModel doc2) |
String |
getSortPropertyPath() |
void |
setSortPropertyPath(String sortPropertyPath) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public String getSortPropertyPath()
getSortPropertyPath
in interface DocumentTreeSorter
public void setSortPropertyPath(String sortPropertyPath)
setSortPropertyPath
in interface DocumentTreeSorter
public int compare(DocumentModel doc1, DocumentModel doc2)
compare
in interface Comparator<DocumentModel>
Copyright © 2013 Nuxeo SA. All Rights Reserved.