Class MenuUtils

java.lang.Object
com.axelor.meta.service.menu.MenuUtils

public class MenuUtils extends Object
  • Constructor Details

    • MenuUtils

      public MenuUtils()
  • Method Details

    • fetchMetaMenu

      public static List<MetaMenu> fetchMetaMenu(List<String> names)
      Fetch MetaMenu for the given names. It also makes sure the remove the overwritten menus based on their priorities
      Returns:
      list of MetaMenu
    • distinctByKey

      public static <T> Predicate<T> distinctByKey(Function<? super T,Object> keyExtractor)