Klasse Cms2MenuUtil
java.lang.Object
de.uplanet.lucy.server.cms2.groovy.menu.Cms2MenuUtil
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voiddeleteMenuItem(de.uplanet.jdbc.JdbcConnection p_conn, List<String> p_strMenuGuids) Deletes the given menu items from the menu.static booleanChecks if the given menu GUID is published in the menu.
-
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:
trueif the menu GUID is published in the menu, otherwisefalse.- 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.
-