Package org.exoplatform.ecms.xcmis.sp
Class DocumentOrderResultSorter
- java.lang.Object
-
- org.exoplatform.ecms.xcmis.sp.DocumentOrderResultSorter
-
- All Implemented Interfaces:
Comparator<org.xcmis.search.result.ScoredRow>
public class DocumentOrderResultSorter extends Object implements Comparator<org.xcmis.search.result.ScoredRow>
-
-
Constructor Summary
Constructors Constructor Description DocumentOrderResultSorter(String selectorName, org.xcmis.spi.Storage storage)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(org.xcmis.search.result.ScoredRow o1, org.xcmis.search.result.ScoredRow o2)StringgetPath(String identifer)Return comparable location of the object.-
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
-
-
-
-
Constructor Detail
-
DocumentOrderResultSorter
public DocumentOrderResultSorter(String selectorName, org.xcmis.spi.Storage storage)
The Constructor.- Parameters:
selectorName- String selector namestorage- the storage
-
-
Method Detail
-
compare
public int compare(org.xcmis.search.result.ScoredRow o1, org.xcmis.search.result.ScoredRow o2)- Specified by:
comparein interfaceComparator<org.xcmis.search.result.ScoredRow>
-
-