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>
|
Method Summary |
int |
compare(org.xcmis.search.result.ScoredRow o1,
org.xcmis.search.result.ScoredRow o2)
|
String |
getPath(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 |
DocumentOrderResultSorter
public DocumentOrderResultSorter(String selectorName,
org.xcmis.spi.Storage storage)
- The Constructor.
- Parameters:
selectorName - String selector namestorage - the storage
compare
public int compare(org.xcmis.search.result.ScoredRow o1,
org.xcmis.search.result.ScoredRow o2)
-
- Specified by:
compare in interface Comparator<org.xcmis.search.result.ScoredRow>
getPath
public String getPath(String identifer)
- Return comparable location of the object.
- Parameters:
identifer - String
- Returns:
- path String
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.