Class PropertyComparator
- java.lang.Object
-
- org.hippoecm.frontend.plugins.gallery.compare.PropertyComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<javax.jcr.Node>
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
CalendarComparator
,LongPropertyComparator
,MimeTypeComparator
,SizeComparator
public abstract class PropertyComparator extends Object implements Comparator<javax.jcr.Node>, org.apache.wicket.util.io.IClusterable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyComparator(String prop)
PropertyComparator(String prop, String relPath)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compare(javax.jcr.Node o1, javax.jcr.Node o2)
protected abstract int
compare(javax.jcr.Property p1, javax.jcr.Property p2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(javax.jcr.Node o1, javax.jcr.Node o2)
- Specified by:
compare
in interfaceComparator<javax.jcr.Node>
-
compare
protected abstract int compare(javax.jcr.Property p1, javax.jcr.Property p2)
-
-