Class SaucMenuPermission
java.lang.Object
de.uplanet.lucy.server.auxiliaries.menu.SaucMenuPermission
Auxiliary to set menu-permissions
Used by the Web-CMS
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPermission
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId) deletePermission
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId) Delete a menu permission.setInitialAdminPermission
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId) setInitialPermission
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId, String p_strPrincipalGuids, boolean p_bAdmin) setPermission
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId, String p_strPrincipalGuids, boolean p_bAdmin) Set Permission of a MenuItem.
-
Field Details
-
PERM_APPDESIGN
-
PERM_LAYOUTDESIGN
-
-
Constructor Details
-
SaucMenuPermission
public SaucMenuPermission()
-
-
Method Details
-
setInitialAdminPermission
-
setInitialPermission
-
checkPermission
-
setPermission
public Exception setPermission(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId, String p_strPrincipalGuids, boolean p_bAdmin) Set Permission of a MenuItem.- Parameters:
p_conn
- The database connection to be used.p_strMenuId
- The menu's unique identifier.p_strPrincipalGuids
- The list of principal-guids as a string- Returns:
- Exception, if occurred else null
-
deletePermission
Delete a menu permission.- Parameters:
p_conn
- The database connection to be used.p_strMenuId
- The menu's unique identifier.- Returns:
- Exception if occurred, otherwise null
-