Class CacheJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.system.CacheJspBean
- All Implemented Interfaces:
Serializable
This class provides the user interface to manage system features ( manage logs, view system files, ... ).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdoResetCaches(jakarta.servlet.http.HttpServletRequest request) Process cache resettingstatic StringdoToggleCache(jakarta.servlet.http.HttpServletRequest request) Process cache toggle on/offgetCacheInfos(jakarta.servlet.http.HttpServletRequest request) Gets cache infos for all cachesgetConfirmToggleCache(jakarta.servlet.http.HttpServletRequest request) Returns the page of confirmation for changing the cache activationgetManageCaches(jakarta.servlet.http.HttpServletRequest request) Returns the page to manage cachesMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_CACHE_MANAGEMENT
- See Also:
-
JSP_MANAGE_CACHES
- See Also:
-
-
Constructor Details
-
CacheJspBean
public CacheJspBean()
-
-
Method Details
-
getManageCaches
Returns the page to manage caches- Parameters:
request- The HttpServletRequest- Returns:
- The HTML code.
-
doResetCaches
public static String doResetCaches(jakarta.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
-
getCacheInfos
Gets cache infos for all caches- Parameters:
request- The HTTP request- Returns:
- HTML formated cache infos
-
getConfirmToggleCache
Returns the page of confirmation for changing the cache activation- Parameters:
request- The Http Request- Returns:
- the HTML page
-
doToggleCache
public static String doToggleCache(jakarta.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
-