Esempio n. 1
0
  /**
   * This action deletes all alerts from the system.
   *
   * @param userSession the user session that is performing the action.
   * @param request the http request object related to the action.
   * @param response the http response object related to the action.
   * @throws javax.servlet.ServletException
   * @throws java.io.IOException
   */
  public void performDeleteAll(
      UserSession userSession, HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
    LogController.write(this, "[USER REQUEST] Performing all alert delete.");

    SessionController.deleteAlerts(userSession);

    forward("welcome-employee.jsp", request, response);
  }