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:
java.io.Serializable
public class StylesJspBean extends AdminFeaturesPageJspBean
This class provides the user interface to manage Styles features- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_MANAGE_STYLERight to manage styles
-
Constructor Summary
Constructors Constructor Description StylesJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateStyle(javax.servlet.http.HttpServletRequest request)Processes the creation form of a new style by recovering the parameters in the http requestjava.lang.StringdoModifyStyle(javax.servlet.http.HttpServletRequest request)Processes the updating form of a style whose new parameters are stored in the http requestjava.lang.StringdoRemoveStyle(javax.servlet.http.HttpServletRequest request)Processes the deletion of a stylejava.lang.StringgetConfirmRemoveStyle(javax.servlet.http.HttpServletRequest request)Returns the confirm of removing the style whose identifier is in the http requestjava.lang.StringgetCreateStyle(javax.servlet.http.HttpServletRequest request)Returns the create form of a new stylejava.lang.StringgetModifyStyle(javax.servlet.http.HttpServletRequest request)Returns the form to update a style whose identifer is stored in the http requestjava.lang.StringgetStylesManagement(javax.servlet.http.HttpServletRequest request)Displays the styles list-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_MANAGE_STYLE
public static final java.lang.String RIGHT_MANAGE_STYLE
Right to manage styles- See Also:
- Constant Field Values
-
-
Method Detail
-
getStylesManagement
public java.lang.String getStylesManagement(javax.servlet.http.HttpServletRequest request)
Displays the styles list- Parameters:
request- The HTTP request- Returns:
- the html code for displaying the styles list
-
getCreateStyle
public java.lang.String getCreateStyle(javax.servlet.http.HttpServletRequest request)
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 java.lang.String doCreateStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
public java.lang.String getModifyStyle(javax.servlet.http.HttpServletRequest request)
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 java.lang.String doModifyStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
public java.lang.String getConfirmRemoveStyle(javax.servlet.http.HttpServletRequest request)
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 java.lang.String doRemoveStyle(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
-
-