Class CacheJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.system.CacheJspBean
-
- All Implemented Interfaces:
java.io.Serializable
public class CacheJspBean extends AdminFeaturesPageJspBean
This class provides the user interface to manage system features ( manage logs, view system files, ... ).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSP_MANAGE_CACHESstatic java.lang.StringRIGHT_CACHE_MANAGEMENT
-
Constructor Summary
Constructors Constructor Description CacheJspBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoReloadProperties(javax.servlet.http.HttpServletRequest request)Reload all properties files of the applicationstatic java.lang.StringdoResetCaches(javax.servlet.http.HttpServletRequest request)Process cache resettingstatic java.lang.StringdoToggleCache(javax.servlet.http.HttpServletRequest request)Process cache toggle on/offjava.lang.StringgetCacheInfos(javax.servlet.http.HttpServletRequest request)Gets cache infos for all cachesjava.lang.StringgetConfirmToggleCache(javax.servlet.http.HttpServletRequest request)Returns the page of confirmation for changing the cache activationjava.lang.StringgetManageCaches(javax.servlet.http.HttpServletRequest request)Returns the page to manage caches-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_CACHE_MANAGEMENT
public static final java.lang.String RIGHT_CACHE_MANAGEMENT
- See Also:
- Constant Field Values
-
JSP_MANAGE_CACHES
public static final java.lang.String JSP_MANAGE_CACHES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageCaches
public java.lang.String getManageCaches(javax.servlet.http.HttpServletRequest request)
Returns the page to manage caches- Parameters:
request- The HttpServletRequest- Returns:
- The HTML code.
-
doResetCaches
public static java.lang.String doResetCaches(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcess cache resetting- Parameters:
request- The HTTP request- Returns:
- The URL to display when the process is done.
- Throws:
AccessDeniedException- if the security token is invalid
-
doReloadProperties
public java.lang.String doReloadProperties(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionReload all properties files of the application- Parameters:
request- The HTTP request- Returns:
- The URL to display when the process is done.
- Throws:
AccessDeniedException
-
getCacheInfos
public java.lang.String getCacheInfos(javax.servlet.http.HttpServletRequest request)
Gets cache infos for all caches- Parameters:
request- The HTTP request- Returns:
- HTML formated cache infos
-
getConfirmToggleCache
public java.lang.String getConfirmToggleCache(javax.servlet.http.HttpServletRequest request)
Returns the page of confirmation for changing the cache activation- Parameters:
request- The Http Request- Returns:
- the HTML page
-
doToggleCache
public static java.lang.String doToggleCache(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcess cache toggle on/off- Parameters:
request- The HTTP request- Returns:
- The URL to display when the process is done.
- Throws:
AccessDeniedException- if the security token is invalid
-
-