Package org.apache.ofbiz.webtools
Class UtilCacheEvents
java.lang.Object
org.apache.ofbiz.webtools.UtilCacheEvents
Contains events for the UtilCache class; must be external to access security resources
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
clearAllEvent
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler that clears all cachesstatic String
clearEvent
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler that clears the named cachestatic String
clearSelectedCachesEvent
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler that clears the selected cachesstatic String
removeElementEvent
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler the specified element from the specified cachestatic String
updateEvent
(HttpServletRequest request, HttpServletResponse response) An HTTP WebEvent handler that updates the named cache
-
Method Details
-
removeElementEvent
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
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
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
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
-