public class DefaultDocumentTreeSorter extends Object implements DocumentTreeSorter
Filters on sort property, case insensitively.
Modifier and Type | Field and Description |
---|---|
protected String |
sortPropertyPath |
Constructor and Description |
---|
DefaultDocumentTreeSorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(DocumentModel doc1,
DocumentModel doc2) |
String |
getSortPropertyPath() |
void |
setSortPropertyPath(String sortPropertyPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected String sortPropertyPath
public DefaultDocumentTreeSorter()
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 © 2018 Nuxeo. All rights reserved.