Class DictionaryComparators.PropertyDefinitionComparator
java.lang.Object
org.alfresco.repo.web.scripts.dictionary.DictionaryComparators.PropertyDefinitionComparator
- All Implemented Interfaces:
Comparator<org.alfresco.service.cmr.dictionary.PropertyDefinition>
- Enclosing interface:
DictionaryComparators
public static class DictionaryComparators.PropertyDefinitionComparator
extends Object
implements Comparator<org.alfresco.service.cmr.dictionary.PropertyDefinition>
Property definition comparator.
Used to order property definitions by title.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyDefinitionComparator(org.alfresco.service.cmr.i18n.MessageLookup messageLookup) -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.alfresco.service.cmr.dictionary.PropertyDefinition arg0, org.alfresco.service.cmr.dictionary.PropertyDefinition arg1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PropertyDefinitionComparator
public PropertyDefinitionComparator(org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
-
-
Method Details
-
compare
public int compare(org.alfresco.service.cmr.dictionary.PropertyDefinition arg0, org.alfresco.service.cmr.dictionary.PropertyDefinition arg1) - Specified by:
comparein interfaceComparator<org.alfresco.service.cmr.dictionary.PropertyDefinition>
-