fr.paris.lutece.portal.web.system
Class CacheJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.system.CacheJspBean

public class CacheJspBean
extends AdminFeaturesPageJspBean

This class provides the user interface to manage system features ( manage logs, view system files, ... ).


Field Summary
static java.lang.String JSP_MANAGE_CACHES
           
static java.lang.String RIGHT_CACHE_MANAGEMENT
           
 
Constructor Summary
CacheJspBean()
           
 
Method Summary
 java.lang.String doReloadProperties()
          Reload all properties files of the application
static java.lang.String doResetCaches(javax.servlet.http.HttpServletRequest request)
          Process cache resetting
static java.lang.String doToggleCache(javax.servlet.http.HttpServletRequest request)
          Process cache toggle on/off
 java.lang.String getCacheInfos(javax.servlet.http.HttpServletRequest request)
          Gets cache infos for all caches
 java.lang.String getManageCaches(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, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

CacheJspBean

public CacheJspBean()
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)
Process cache resetting

Parameters:
request - The HTTP request
Returns:
The URL to display when the process is done.

doReloadProperties

public java.lang.String doReloadProperties()
Reload all properties files of the application

Returns:
The URL to display when the process is done.

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

doToggleCache

public static java.lang.String doToggleCache(javax.servlet.http.HttpServletRequest request)
Process cache toggle on/off

Parameters:
request - The HTTP request
Returns:
The URL to display when the process is done.


Copyright © 2011 Mairie de Paris. All Rights Reserved.