Class SaucMenuPermission

java.lang.Object
de.uplanet.lucy.server.auxiliaries.menu.SaucMenuPermission

@VelocityCallable("singleton") public final class SaucMenuPermission extends Object
Auxiliary to set menu-permissions Used by the Web-CMS
  • Field Details

    • PERM_APPDESIGN

      public static final Permission PERM_APPDESIGN
    • PERM_LAYOUTDESIGN

      public static final Permission PERM_LAYOUTDESIGN
  • Constructor Details

    • SaucMenuPermission

      public SaucMenuPermission()
  • Method Details

    • setInitialAdminPermission

      public Exception setInitialAdminPermission(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId)
    • setInitialPermission

      public Exception setInitialPermission(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId, String p_strPrincipalGuids, boolean p_bAdmin)
    • checkPermission

      public boolean checkPermission(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId)
    • 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

      public Exception deletePermission(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuId)
      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