Klasse Cms2MenuUtil

java.lang.Object
de.uplanet.lucy.server.cms2.groovy.menu.Cms2MenuUtil

@Scriptable public final class Cms2MenuUtil extends Object
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    deleteMenuItem(de.uplanet.jdbc.JdbcConnection p_conn, List<String> p_strMenuGuids)
    Deletes the given menu items from the menu.
    static boolean
    isInMenu(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuGuid)
    Checks if the given menu GUID is published in the menu.

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Methodendetails

    • 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.
      Parameter:
      p_conn - The database connection.
      p_strMenuGuid - The menu GUID.
      Gibt zurück:
      true if the menu GUID is published in the menu, otherwise false.
      Löst aus:
      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.
      Parameter:
      p_conn - The database connection.
      p_strMenuGuids - The menu GUIDs.
      Löst aus:
      SQLException - Thrown if accessing the database failed.
      de.uplanet.lucy.menu.MenuException - Thrown if deleting menu item failed.