Class UtilCacheEvents


  • public final class UtilCacheEvents
    extends java.lang.Object
    Contains events for the UtilCache class; must be external to access security resources
    • Method Detail

      • removeElementEvent

        public static java.lang.String removeElementEvent​(HttpServletRequest request,
                                                          HttpServletResponse response)
        An HTTP WebEvent handler the specified element from the specified cache
        Parameters:
        request - The HTTP request object for the current JSP or Servlet request.
        response - The HTTP response object for the current JSP or Servlet request.
        Returns:
        return an HTTP WebEvent handler the specified element from the specified cache
      • clearEvent

        public static java.lang.String clearEvent​(HttpServletRequest request,
                                                  HttpServletResponse response)
        An HTTP WebEvent handler that clears the named cache
        Parameters:
        request - The HTTP request object for the current JSP or Servlet request.
        response - The HTTP response object for the current JSP or Servlet request.
        Returns:
        return an HTTP WebEvent handler that clears the named cache
      • clearAllEvent

        public static java.lang.String clearAllEvent​(HttpServletRequest request,
                                                     HttpServletResponse response)
        An HTTP WebEvent handler that clears all caches
        Parameters:
        request - The HTTP request object for the current JSP or Servlet request.
        response - The HTTP response object for the current JSP or Servlet request.
        Returns:
        return an HTTP WebEvent handler that clears all caches
      • clearSelectedCachesEvent

        public static java.lang.String clearSelectedCachesEvent​(HttpServletRequest request,
                                                                HttpServletResponse response)
        An HTTP WebEvent handler that clears the selected caches
        Parameters:
        request - The HTTP request object for the current JSP or Servlet request.
        response - The HTTP response object for the current JSP or Servlet request.
        Returns:
        return an HTTP WebEvent handler that clears all caches
      • updateEvent

        public static java.lang.String updateEvent​(HttpServletRequest request,
                                                   HttpServletResponse response)
        An HTTP WebEvent handler that updates the named cache
        Parameters:
        request - The HTTP request object for the current JSP or Servlet request.
        response - The HTTP response object for the current JSP or Servlet request.
        Returns:
        return an HTTP WebEvent handler that updates the named cache