Package org.apache.ofbiz.webtools
Class UtilCacheEvents
- java.lang.Object
-
- org.apache.ofbiz.webtools.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 cachesstatic java.lang.String
clearEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler that clears the named cachestatic java.lang.String
clearSelectedCachesEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler that clears the selected cachesstatic java.lang.String
removeElementEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler the specified element from the specified cachestatic java.lang.String
updateEvent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler that updates the named cache
-
-
-
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
-
-