Package fr.paris.lutece.portal.web.style
Class PageTemplatesJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.style.PageTemplatesJspBean
- All Implemented Interfaces:
Serializable
This class provides the user interface to manage page templates features ( manage, create, modify, remove)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoModifyPageTemplate(jakarta.servlet.http.HttpServletRequest request) Processes the updating form of a page template whose new parameters are stored in the http requestdoRemovePageTemplate(jakarta.servlet.http.HttpServletRequest request) Processes the deletion of a page templategetConfirmRemovePageTemplate(jakarta.servlet.http.HttpServletRequest request) Returns the confirm of removing the page_template whose identifier is in the http requestgetManagePageTemplate(jakarta.servlet.http.HttpServletRequest request) Returns the list of page templatesgetModifyPageTemplate(jakarta.servlet.http.HttpServletRequest request) Returns the page template form of updateMethods 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_PAGE_TEMPLATES
Right to manage page templates- See Also:
-
-
Constructor Details
-
PageTemplatesJspBean
public PageTemplatesJspBean()
-
-
Method Details
-
getManagePageTemplate
Returns the list of page templates- Parameters:
request- The Http request- Returns:
- the html code for display the page templates list
-
getModifyPageTemplate
Returns the page template form of update- Parameters:
request- The Http request- Returns:
- the html code of the page template form
-
doModifyPageTemplate
public String doModifyPageTemplate(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the updating form of a page template 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
-
getConfirmRemovePageTemplate
Returns the confirm of removing the page_template whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code for the remove confirmation page
-
doRemovePageTemplate
public String doRemovePageTemplate(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the deletion of a page template- Parameters:
request- the http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-