Class DefaultWebContentFilter.ContentComparator

java.lang.Object
org.ametys.web.filter.DefaultWebContentFilter.ContentComparator
All Implemented Interfaces:
Comparator<Content>
Enclosing class:
DefaultWebContentFilter

Compares two contents based on a given list of sort criteria. In jackrabbit, in ascending order, if the first content does not have the wanted value set, it's considered to be ordered *before* ("less than") the second content (the JCR spec specifies this behavior as "implementation-defined").