Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLQueryResult.PathComparator

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLQueryResult.PathComparator
All Implemented Interfaces:
java.util.Comparator<DocumentModel>
Enclosing class:
SQLQueryResult

public static class SQLQueryResult.PathComparator
extends java.lang.Object
implements java.util.Comparator<DocumentModel>


Constructor Summary
SQLQueryResult.PathComparator(boolean asc)
           
 
Method Summary
 int compare(DocumentModel doc1, DocumentModel doc2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

SQLQueryResult.PathComparator

public SQLQueryResult.PathComparator(boolean asc)
Method Detail

compare

public int compare(DocumentModel doc1,
                   DocumentModel doc2)
Specified by:
compare in interface java.util.Comparator<DocumentModel>

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.