Class MenuItemComparator

java.lang.Object
com.jalios.jcms.unifiedinsert.MenuItemComparator
All Implemented Interfaces:
Comparator<MenuItem>

public class MenuItemComparator extends Object implements Comparator<MenuItem>
Compare menu item first using their Order, then with their label in the specified (or default) language, and on last resort with their id.
Since:
jcms-10.0.0 - JCMS-5321
  • Constructor Details

    • MenuItemComparator

      public MenuItemComparator()
    • MenuItemComparator

      public MenuItemComparator(String lang)
  • Method Details