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

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

public class SystemJspBean
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 JSP_MANAGE_PROPERTIES
           
static java.lang.String RIGHT_CACHE_MANAGEMENT
           
static java.lang.String RIGHT_LOGS_VISUALISATION
           
static java.lang.String RIGHT_PROPERTIES_MANAGEMENT
           
 
Constructor Summary
SystemJspBean()
           
 
Method Summary
static java.lang.String doModifyProperties(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          Process the change form of the webmaster.properties
 java.lang.String doReloadProperties()
          Reload all properties files of the application
static java.lang.String doResetCaches()
          Process cache resetting
 java.lang.String getFileView(javax.servlet.http.HttpServletRequest request)
          Returns a FileView page
 java.lang.String getManageCaches(javax.servlet.http.HttpServletRequest request)
          Returns the page to manage caches
 java.lang.String getManageFilesSystem(javax.servlet.http.HttpServletRequest request)
          Returns ViewLogs page
 java.lang.String getManageFilesSystemDir(javax.servlet.http.HttpServletRequest request)
          Get directory list
 java.lang.String getManageProperties()
          Returns the page to manage webmaster.properties
 java.lang.String getModifyProperties(javax.servlet.http.HttpServletRequest request)
          Returns the form to update info about the webmaster.properties
 
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_PROPERTIES_MANAGEMENT

public static final java.lang.String RIGHT_PROPERTIES_MANAGEMENT
See Also:
Constant Field Values

RIGHT_CACHE_MANAGEMENT

public static final java.lang.String RIGHT_CACHE_MANAGEMENT
See Also:
Constant Field Values

RIGHT_LOGS_VISUALISATION

public static final java.lang.String RIGHT_LOGS_VISUALISATION
See Also:
Constant Field Values

JSP_MANAGE_CACHES

public static final java.lang.String JSP_MANAGE_CACHES
See Also:
Constant Field Values

JSP_MANAGE_PROPERTIES

public static final java.lang.String JSP_MANAGE_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

SystemJspBean

public SystemJspBean()
Method Detail

getManageFilesSystem

public java.lang.String getManageFilesSystem(javax.servlet.http.HttpServletRequest request)
Returns ViewLogs page

Parameters:
request - The HTTP request.
Returns:
The HTML code

getManageFilesSystemDir

public java.lang.String getManageFilesSystemDir(javax.servlet.http.HttpServletRequest request)
Get directory list

Parameters:
request - The request
Returns:
The html code

getFileView

public java.lang.String getFileView(javax.servlet.http.HttpServletRequest request)
Returns a FileView page

Parameters:
request - The HTTP request.
Returns:
The HTML code

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

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.

getManageProperties

public java.lang.String getManageProperties()
Returns the page to manage webmaster.properties

Returns:
The HTML code.

getModifyProperties

public java.lang.String getModifyProperties(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about the webmaster.properties

Parameters:
request - The Http request
Returns:
The HTML form to update info

doModifyProperties

public static java.lang.String doModifyProperties(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.ServletContext context)
Process the change form of the webmaster.properties

Parameters:
request - The Http request
context - The context
Returns:
The Jsp URL of the process result


Copyright © 2010 Mairie de Paris. All Rights Reserved.