Class CacheJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.system.CacheJspBean
-
- All Implemented Interfaces:
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 StringJSP_MANAGE_CACHESstatic StringRIGHT_CACHE_MANAGEMENT
-
Constructor Summary
Constructors Constructor Description CacheJspBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoReloadProperties(javax.servlet.http.HttpServletRequest request)Reload all properties files of the applicationstatic StringdoResetCaches(javax.servlet.http.HttpServletRequest request)Process cache resettingstatic StringdoToggleCache(javax.servlet.http.HttpServletRequest request)Process cache toggle on/offStringgetCacheInfos(javax.servlet.http.HttpServletRequest request)Gets cache infos for all cachesStringgetConfirmToggleCache(javax.servlet.http.HttpServletRequest request)Returns the page of confirmation for changing the cache activationStringgetManageCaches(javax.servlet.http.HttpServletRequest request)Returns the page to manage caches-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_CACHE_MANAGEMENT
public static final String RIGHT_CACHE_MANAGEMENT
- See Also:
- Constant Field Values
-
JSP_MANAGE_CACHES
public static final String JSP_MANAGE_CACHES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageCaches
public String getManageCaches(javax.servlet.http.HttpServletRequest request)
Returns the page to manage caches- Parameters:
request- The HttpServletRequest- Returns:
- The HTML code.
-
doResetCaches
public static String doResetCaches(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
Process 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 String doReloadProperties(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
Reload 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 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 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 String doToggleCache(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
Process 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
-
-