Class DocumentOrderResultSorter

  • All Implemented Interfaces:
    Comparator<org.xcmis.search.result.ScoredRow>

    public class DocumentOrderResultSorter
    extends Object
    implements Comparator<org.xcmis.search.result.ScoredRow>
    • Constructor Detail

      • DocumentOrderResultSorter

        public DocumentOrderResultSorter​(String selectorName,
                                         org.xcmis.spi.Storage storage)
        The Constructor.
        Parameters:
        selectorName - String selector name
        storage - the storage
    • Method Detail

      • 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