org.xcmis.sp.jcr.exo
Class QueryableStorage.DocumentOrderResultSorter

java.lang.Object
  extended by org.xcmis.sp.jcr.exo.QueryableStorage.DocumentOrderResultSorter
All Implemented Interfaces:
Comparator<ScoredRow>
Enclosing class:
QueryableStorage

public static class QueryableStorage.DocumentOrderResultSorter
extends Object
implements Comparator<ScoredRow>


Constructor Summary
QueryableStorage.DocumentOrderResultSorter(String selectorName, Storage storage)
          The Constructor.
 
Method Summary
 int compare(ScoredRow o1, 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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

QueryableStorage.DocumentOrderResultSorter

public QueryableStorage.DocumentOrderResultSorter(String selectorName,
                                                  Storage storage)
The Constructor.

Parameters:
selectorName - String selector name
storage - the storage
Method Detail

compare

public int compare(ScoredRow o1,
                   ScoredRow o2)

Specified by:
compare in interface Comparator<ScoredRow>

getPath

public String getPath(String identifer)
Return comparable location of the object.

Parameters:
identifer - String
Returns:
path String


Copyright © 2010 eXo Platform SAS. All Rights Reserved.