Package fr.paris.lutece.portal.web.style
Class StylesJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.style.StylesJspBean
- All Implemented Interfaces:
Serializable
This class provides the user interface to manage Styles features
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateStyle(javax.servlet.http.HttpServletRequest request) Processes the creation form of a new style by recovering the parameters in the http requestdoModifyStyle(javax.servlet.http.HttpServletRequest request) Processes the updating form of a style whose new parameters are stored in the http requestdoRemoveStyle(javax.servlet.http.HttpServletRequest request) Processes the deletion of a stylegetConfirmRemoveStyle(javax.servlet.http.HttpServletRequest request) Returns the confirm of removing the style whose identifier is in the http requestgetCreateStyle(javax.servlet.http.HttpServletRequest request) Returns the create form of a new stylegetModifyStyle(javax.servlet.http.HttpServletRequest request) Returns the form to update a style whose identifer is stored in the http requestgetStylesManagement(javax.servlet.http.HttpServletRequest request) Displays the styles listMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_STYLE
Right to manage styles- See Also:
-
-
Constructor Details
-
StylesJspBean
public StylesJspBean()
-
-
Method Details
-
getStylesManagement
Displays the styles list- Parameters:
request- The HTTP request- Returns:
- the html code for displaying the styles list
-
getCreateStyle
Returns the create form of a new style- Parameters:
request- The http request- Returns:
- The html code for the create form of a new style
-
doCreateStyle
public String doCreateStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the creation form of a new style 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
-
getModifyStyle
Returns the form to update a style whose identifer is stored in the http request- Parameters:
request- The http request- Returns:
- The html code
-
doModifyStyle
public String doModifyStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the updating form of a style 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
-
getConfirmRemoveStyle
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
-
doRemoveStyle
public String doRemoveStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the deletion of a style- Parameters:
request- the http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-