Class UtilCacheEvents


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String clearAllEvent​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      An HTTP WebEvent handler that clears all caches
      static java.lang.String clearEvent​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      An HTTP WebEvent handler that clears the named cache
      static java.lang.String clearSelectedCachesEvent​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      An HTTP WebEvent handler that clears the selected caches
      static java.lang.String removeElementEvent​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      An HTTP WebEvent handler the specified element from the specified cache
      static java.lang.String updateEvent​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      An HTTP WebEvent handler that updates the named cache
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • removeElementEvent

        public static java.lang.String removeElementEvent​(javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.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​(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.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​(javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.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​(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.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​(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.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