Class StyleSheetJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.stylesheet.StyleSheetJspBean
- All Implemented Interfaces:
Serializable
This class provides the user interface to manage StyleSheet features
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateStyleSheet(jakarta.servlet.http.HttpServletRequest request) Processes the creation form of a new stylesheet by recovering the parameters in the http requestdoModifyStyleSheet(jakarta.servlet.http.HttpServletRequest request) Processes the updating form of a stylesheet whose new parameters are stored in the http requestdoRemoveStyleSheet(jakarta.servlet.http.HttpServletRequest request) Processes the deletion of a stylesheetgetCreateStyleSheet(jakarta.servlet.http.HttpServletRequest request) Returns the create form of a new stylesheet with the upload fieldgetManageStyleSheet(jakarta.servlet.http.HttpServletRequest request) Displays the stylesheets listgetModifyStyleSheet(jakarta.servlet.http.HttpServletRequest request) Returns the form to update a stylesheet whose identifer is stored in the http requestgetRemoveStyleSheet(jakarta.servlet.http.HttpServletRequest request) Returns the confirm of removing the style whose identifier is in the http requestReturn 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, getSecurityTokenService, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_STYLESHEET
Right to manage stylesheets- See Also:
-
-
Constructor Details
-
StyleSheetJspBean
public StyleSheetJspBean()
-
-
Method Details
-
getManageStyleSheet
Displays the stylesheets list- Parameters:
request- The request- Returns:
- the html code for displaying the stylesheets list
-
getCreateStyleSheet
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
-
doCreateStyleSheet
public String doCreateStyleSheet(jakarta.servlet.http.HttpServletRequest request) throws 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:
AccessDeniedException- if the security token is invalid
-
getModifyStyleSheet
Returns the form to update a stylesheet whose identifer is stored in the http request- Parameters:
request- The http request- Returns:
- The html code
-
getStyleList
Return a ReferenceList with id style for code and a concatenation of portal name + portlet type name + style description for name.- Returns:
- The
ReferenceList
-
doModifyStyleSheet
public String doModifyStyleSheet(jakarta.servlet.http.HttpServletRequest request) throws 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:
AccessDeniedException- if the security token is invalid
-
getRemoveStyleSheet
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
-
doRemoveStyleSheet
public String doRemoveStyleSheet(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the deletion of a stylesheet- Parameters:
request- the http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-