Class LinkMenuItems
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.LinkMenuItems
-
@VelocityCallable("singleton") public final class LinkMenuItems extends Object
-
-
Constructor Summary
Constructors Constructor Description LinkMenuItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IMenuItem>
getAllLinkItems(de.uplanet.jdbc.JdbcConnection p_conn)
List<IMenuItem>
getLinkItemsFromDefaultLayout(de.uplanet.jdbc.JdbcConnection p_conn)
List<IMenuItem>
getLinkItemsFromLayout(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLayoutName)
Comparator<IMenuItem>
getMenuItemNameComparator(String p_strLang)
-
-
-
Method Detail
-
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.
-
-