Class Cms2MenuUtil


  • @Scriptable
    public final class Cms2MenuUtil
    extends Object
    • Method Detail

      • isInMenu

        public static boolean isInMenu​(de.uplanet.jdbc.JdbcConnection p_conn,
                                       String p_strMenuGuid)
                                throws de.uplanet.lucy.server.businesslogic.BlException
        Checks if the given menu GUID is published in the menu.
        Parameters:
        p_conn - The database connection.
        p_strMenuGuid - The menu GUID.
        Returns:
        true if the menu GUID is published in the menu, otherwise false.
        Throws:
        de.uplanet.lucy.server.businesslogic.BlException - Thrown if checking the permission failed.
      • deleteMenuItem

        public static void deleteMenuItem​(de.uplanet.jdbc.JdbcConnection p_conn,
                                          List<String> p_strMenuGuids)
                                   throws de.uplanet.lucy.menu.MenuException,
                                          SQLException
        Deletes the given menu items from the menu.
        Parameters:
        p_conn - The database connection.
        p_strMenuGuids - The menu GUIDs.
        Throws:
        SQLException - Thrown if accessing the database failed.
        de.uplanet.lucy.menu.MenuException - Thrown if deleting menu item failed.