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 Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voiddoPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) getCookieMap(jakarta.servlet.http.HttpServletRequest request) getDefaultValues(String rightType, boolean skipCookie) getPermissionList(String rightType) getPermissionList(String rightType, boolean getSubList) voidinit(jakarta.servlet.ServletConfig config) static booleanisAllowedAttribute(String name) static voidsetPermission(String rightType, String rightValue) static voidsetPermission(String rightType, List<String> rightValues) static voidsetPermissionMap(Map<String, ArrayList<String>> permMap) static booleanMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
allowedRightTypes
-
COOKIE_PERMISSION_MAP_SESSION_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
SubjectPreferences
public SubjectPreferences()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletException
-
isAllowedAttribute
-
getPermissionList
-
getPermissionList
-
setPermission
-
getPermissionMap
-
setPermissionMap
-
setPermission
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
testValue
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getCookieMap
-
getDefaultValues
-