Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.model.impl
Class SelectDocumentDataModelRowComparator

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.model.impl.SelectDocumentDataModelRowComparator
All Implemented Interfaces:
Serializable, Comparator<SelectDataModelRow>

public class SelectDocumentDataModelRowComparator
extends Object
implements Comparator<SelectDataModelRow>, Serializable

Comparator for SelectDataModel items containing DocumentModel data.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
SelectDocumentDataModelRowComparator(String schemaName, String fieldName, boolean ascending)
           
 
Method Summary
 int compare(SelectDataModelRow row1, SelectDataModelRow row2)
          Compares two cells given two table rows.
 
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

SelectDocumentDataModelRowComparator

public SelectDocumentDataModelRowComparator(String schemaName,
                                            String fieldName,
                                            boolean ascending)
Method Detail

compare

public int compare(SelectDataModelRow row1,
                   SelectDataModelRow row2)
Compares two cells given two table rows.

Specified by:
compare in interface Comparator<SelectDataModelRow>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.