fr.paris.lutece.plugins.calendar.web
Class CalendarStyleSheetJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.plugins.calendar.web.CalendarStyleSheetJspBean
All Implemented Interfaces:
Serializable

public class CalendarStyleSheetJspBean
extends fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

This class provides the user interface to manage StyleSheet features

See Also:
Serialized Form

Field Summary
static String PROPERTY_EXTENSION_REGEXP
           
static String RIGHT_MANAGE_STYLESHEET
           
 
Constructor Summary
CalendarStyleSheetJspBean()
           
 
Method Summary
 String doCreateStyleSheet(javax.servlet.http.HttpServletRequest request)
          Processes the creation form of a new stylesheet by recovering the parameters in the http request
 String doModifyStyleSheet(javax.servlet.http.HttpServletRequest request)
          Processes the updating form of a stylesheet whose new parameters are stored in the http request
 String doRemoveStyleSheet(javax.servlet.http.HttpServletRequest request)
          Processes the deletion of a stylesheet
 String getCreateStyleSheet(javax.servlet.http.HttpServletRequest request)
          Returns the create form of a new stylesheet with the upload field
 String getManageStyleSheet(javax.servlet.http.HttpServletRequest request)
          Displays the stylesheets list
 String getModifyStyleSheet(javax.servlet.http.HttpServletRequest request)
          Returns the form to update a stylesheet whose identifer is stored in the http request
 String getRemoveStyleSheet(javax.servlet.http.HttpServletRequest request)
          Returns the confirm of removing the style whose identifier is in the http request
 fr.paris.lutece.util.ReferenceList getStyleList()
          Return a ReferenceList with id style for code and a concatenation of portal name + portlet type name + style description for name.
 
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_MANAGE_STYLESHEET

public static final String RIGHT_MANAGE_STYLESHEET
See Also:
Constant Field Values

PROPERTY_EXTENSION_REGEXP

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

CalendarStyleSheetJspBean

public CalendarStyleSheetJspBean()
Method Detail

getManageStyleSheet

public String getManageStyleSheet(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Displays the stylesheets list

Parameters:
request - The request
Returns:
the html code for displaying the stylesheets list
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature

getCreateStyleSheet

public String getCreateStyleSheet(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Returns the create form of a new 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 - If the user is not allowed to access this feature

doCreateStyleSheet

public String doCreateStyleSheet(javax.servlet.http.HttpServletRequest request)
                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Processes the creation form of a new 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 - If the user is not allowed to access this feature

getModifyStyleSheet

public String getModifyStyleSheet(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Returns the form to update a stylesheet whose identifer is stored in the http request

Parameters:
request - The http request
Returns:
The html code
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature

getStyleList

public fr.paris.lutece.util.ReferenceList getStyleList()
                                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Return a ReferenceList with id style for code and a concatenation of portal name + portlet type name + style description for name.

Returns:
The ReferenceList
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature

doModifyStyleSheet

public String doModifyStyleSheet(javax.servlet.http.HttpServletRequest request)
                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Processes the updating form of a stylesheet whose new parameters are stored 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 - If the user is not allowed to access this feature

getRemoveStyleSheet

public String getRemoveStyleSheet(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Returns the confirm of removing the style whose identifier is in the http request

Parameters:
request - The Http request
Returns:
the html code for the remove confirmation page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature

doRemoveStyleSheet

public String doRemoveStyleSheet(javax.servlet.http.HttpServletRequest request)
                          throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Processes the deletion of a stylesheet

Parameters:
request - the http request
Returns:
The Jsp URL of the process result
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not allowed to access this feature


Copyright © 2014 Mairie de Paris. All Rights Reserved.