Class UtilCacheEvents

java.lang.Object
org.apache.ofbiz.webtools.UtilCacheEvents

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

    • removeElementEvent

      public static 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 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 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 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 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