Class DashboardWidgetsPreferencesServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
fr.paris.lutece.portal.web.dashboard.DashboardWidgetsPreferencesServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class DashboardWidgetsPreferencesServlet
extends jakarta.servlet.http.HttpServlet
Servlet storing and restoring the admin home dashboard widget layout (visibility, column and order of each widget) in the shared
core_admin_user_preferences table, so the layout follows the user across browsers and environments.
The layout is primarily kept in the browser localStorage (see webapp/themes/admin/shared/js/dashboard-widgets.js). This servlet is the
cross-environment fallback : the browser POSTs the layout on logout (before localStorage is wiped by the Clear-Site-Data header) and GETs it
back on the next login when no local copy is available.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
init, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
DashboardWidgetsPreferencesServlet
public DashboardWidgetsPreferencesServlet()
-