Class LinkMenuItems

java.lang.Object
de.uplanet.lucy.server.auxiliaries.LinkMenuItems

@VelocityCallable("singleton") public final class LinkMenuItems extends Object
  • Constructor Details

    • LinkMenuItems

      public LinkMenuItems()
  • Method Details

    • getAllLinkItems

      public List<IMenuItem> getAllLinkItems(de.uplanet.jdbc.JdbcConnection p_conn)
      Parameters:
      p_conn - The database connection to be used.
      Returns:
      A list with all menu items.
    • getLinkItemsFromLayout

      public List<IMenuItem> getLinkItemsFromLayout(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLayoutName)
      Parameters:
      p_conn - The database connection to be used.
      p_strLayoutName - The layout name
      Returns:
      A list with all menu items for a given layout.
    • getLinkItemsFromDefaultLayout

      public List<IMenuItem> getLinkItemsFromDefaultLayout(de.uplanet.jdbc.JdbcConnection p_conn)
      Parameters:
      p_conn - The database connection to be used.
      Returns:
      A list with all menu items for the default layout.
    • getMenuItemNameComparator

      public Comparator<IMenuItem> getMenuItemNameComparator(String p_strLang)
      Parameters:
      p_strLang - The language used for sorting the menuitem names.