Class DictionaryComparators.PropertyDefinitionComparator

  • All Implemented Interfaces:
    java.util.Comparator<org.alfresco.service.cmr.dictionary.PropertyDefinition>
    Enclosing interface:
    DictionaryComparators

    public static class DictionaryComparators.PropertyDefinitionComparator
    extends java.lang.Object
    implements java.util.Comparator<org.alfresco.service.cmr.dictionary.PropertyDefinition>
    Property definition comparator. Used to order property definitions by title.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyDefinitionComparator​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(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, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • PropertyDefinitionComparator

        public PropertyDefinitionComparator​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
    • Method Detail

      • compare

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