org.alfresco.repo.web.scripts.dictionary
Class DictionaryComparators.ClassDefinitionComparator

java.lang.Object
  extended by org.alfresco.repo.web.scripts.dictionary.DictionaryComparators.ClassDefinitionComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing interface:
DictionaryComparators

public static class DictionaryComparators.ClassDefinitionComparator
extends java.lang.Object
implements java.util.Comparator

Class definition comparator. Used to order class definitions by title.


Constructor Summary
DictionaryComparators.ClassDefinitionComparator()
           
 
Method Summary
 int compare(org.alfresco.service.cmr.dictionary.ClassDefinition arg0, org.alfresco.service.cmr.dictionary.ClassDefinition arg1)
           
 
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

DictionaryComparators.ClassDefinitionComparator

public DictionaryComparators.ClassDefinitionComparator()
Method Detail

compare

public int compare(org.alfresco.service.cmr.dictionary.ClassDefinition arg0,
                   org.alfresco.service.cmr.dictionary.ClassDefinition arg1)
Specified by:
compare in interface java.util.Comparator


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.