fr.paris.lutece.plugins.dila.web
Class StyleSheetJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.dila.web.StyleSheetJspBean
All Implemented Interfaces:
Serializable

public class StyleSheetJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the user interface to manage StyleSheet of DILA features

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_STYLESHEET
           
 
Constructor Summary
StyleSheetJspBean()
           
 
Method Summary
 String doDeleteStyleSheet(javax.servlet.http.HttpServletRequest request)
          Delete a dila styleSheet.
 String doDownloadStyleSheet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          write in the http response the value of the response whose identifier is specified in the request if there is no response return a error
 String doSaveStyleSheet(javax.servlet.http.HttpServletRequest request)
          Processes the creation form of a new dila stylesheet by recovering the parameters in the http request
 String getDeleteStyleSheet(javax.servlet.http.HttpServletRequest request)
          Returns the confirmation message to delete a dila stylesheet.
 String getManageStyleSheet(javax.servlet.http.HttpServletRequest request)
          Displays the stylesheets list
 String getSaveStyleSheet(javax.servlet.http.HttpServletRequest request)
          Returns the create form of a new dila stylesheet with the upload field
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, 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_MANAGE_STYLESHEET

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

StyleSheetJspBean

public StyleSheetJspBean()
Method Detail

getManageStyleSheet

public String getManageStyleSheet(javax.servlet.http.HttpServletRequest request)
Displays the stylesheets list

Parameters:
request - The request
Returns:
the html code for displaying the stylesheets list

getSaveStyleSheet

public String getSaveStyleSheet(javax.servlet.http.HttpServletRequest request)
                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Returns the create form of a new dila stylesheet with the upload field

Parameters:
request - the http request
Returns:
the html code for the create form of a new stylesheet
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - AccessDeniedException

doSaveStyleSheet

public String doSaveStyleSheet(javax.servlet.http.HttpServletRequest request)
                        throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Processes the creation form of a new dila stylesheet by recovering the parameters in the http request

Parameters:
request - the http request
Returns:
The Jsp URL of the process result
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - AccessDeniedException

getDeleteStyleSheet

public String getDeleteStyleSheet(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Returns the confirmation message to delete a dila stylesheet.

Parameters:
request - The Http request
Returns:
the html code message
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - AccessDeniedException

doDeleteStyleSheet

public String doDeleteStyleSheet(javax.servlet.http.HttpServletRequest request)
                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Delete a dila styleSheet.

Parameters:
request - The Http request
Returns:
url return
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - AccessDeniedException

doDownloadStyleSheet

public String doDownloadStyleSheet(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
                            throws fr.paris.lutece.portal.service.admin.AccessDeniedException
write in the http response the value of the response whose identifier is specified in the request if there is no response return a error

Parameters:
request - the http request
response - The http response
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - AccessDeniedException


Copyright © 2013 Mairie de Paris. All Rights Reserved.