public class CacheJspBean extends AdminFeaturesPageJspBean
Modifier and Type | Field and Description |
---|---|
static String |
JSP_MANAGE_CACHES |
static String |
RIGHT_CACHE_MANAGEMENT |
Constructor and Description |
---|
CacheJspBean() |
Modifier and Type | Method and Description |
---|---|
String |
doReloadProperties(javax.servlet.http.HttpServletRequest request)
Reload all properties files of the application
|
static String |
doResetCaches(javax.servlet.http.HttpServletRequest request)
Process cache resetting
|
static String |
doToggleCache(javax.servlet.http.HttpServletRequest request)
Process cache toggle on/off
|
String |
getCacheInfos(javax.servlet.http.HttpServletRequest request)
Gets cache infos for all caches
|
String |
getConfirmToggleCache(javax.servlet.http.HttpServletRequest request)
Returns the page of confirmation for changing the cache activation
|
String |
getManageCaches(javax.servlet.http.HttpServletRequest request)
Returns the page to manage caches
|
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
public static final String RIGHT_CACHE_MANAGEMENT
public static final String JSP_MANAGE_CACHES
public String getManageCaches(javax.servlet.http.HttpServletRequest request)
request
- The HttpServletRequestpublic static String doResetCaches(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- The HTTP requestAccessDeniedException
- if the security token is invalidpublic String doReloadProperties(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- The HTTP requestAccessDeniedException
public String getCacheInfos(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String getConfirmToggleCache(javax.servlet.http.HttpServletRequest request)
request
- The Http Requestpublic static String doToggleCache(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- The HTTP requestAccessDeniedException
- if the security token is invalidCopyright © 2020 City of Paris. All rights reserved.