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
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
static String JSP_MANAGE_CACHES
           
static String RIGHT_CACHE_MANAGEMENT
           
 
Constructor Summary
CacheJspBean()
           
 
Method Summary
 String doReloadProperties()
          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 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, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate
 
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 String RIGHT_CACHE_MANAGEMENT
See Also:
Constant Field Values

JSP_MANAGE_CACHES

public static final String JSP_MANAGE_CACHES
See Also:
Constant Field Values
Constructor Detail

CacheJspBean

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

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

doReloadProperties

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

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

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

doToggleCache

public static 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 © 2014 Mairie de Paris. All Rights Reserved.