Class SubjectPreferences

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
de.businesscode.bcdui.web.servlets.SubjectPreferences
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class SubjectPreferences extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Details

    • allowedRightTypes

      public static final List<String> allowedRightTypes
  • Constructor Details

    • SubjectPreferences

      public SubjectPreferences()
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
    • isAllowedAttribute

      public static boolean isAllowedAttribute(String name)
    • getPermissionList

      public static List<String> getPermissionList(String rightType)
    • getPermissionList

      public static List<String> getPermissionList(String rightType, boolean getSubList)
    • setPermission

      public static void setPermission(String rightType, String rightValue)
    • getPermissionMap

      public static Map<String,ArrayList<String>> getPermissionMap()
    • setPermissionMap

      public static void setPermissionMap(Map<String,ArrayList<String>> permMap)
    • setPermission

      public static void setPermission(String rightType, List<String> rightValues)
    • doPost

      protected void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException
      Overrides:
      doPost in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
    • testValue

      public static boolean testValue(String rightType, String rightValue)
    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
    • getCookieMap

      public static Map<String,ArrayList<String>> getCookieMap(jakarta.servlet.http.HttpServletRequest request)
    • getDefaultValues

      public static List<String> getDefaultValues(String rightType, boolean skipCookie)