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 TypeMethodDescriptiondoCreatePageTemplate(javax.servlet.http.HttpServletRequest request) Processes the creation form of a new page template by recovering the parameters in the http requestdoModifyPageTemplate(javax.servlet.http.HttpServletRequest request) Processes the updating form of a page template whose new parameters are stored in the http requestdoRemovePageTemplate(javax.servlet.http.HttpServletRequest request) Processes the deletion of a page templategetConfirmRemovePageTemplate(javax.servlet.http.HttpServletRequest request) Returns the confirm of removing the page_template whose identifier is in the http requestgetCreatePageTemplate(javax.servlet.http.HttpServletRequest request) Returns the page template form of creationgetManagePageTemplate(javax.servlet.http.HttpServletRequest request) Returns the list of page templatesgetModifyPageTemplate(javax.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, 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
-
getCreatePageTemplate
Returns the page template form of creation- Parameters:
request- The Http request- Returns:
- the html code of the page template
-
doCreatePageTemplate
public String doCreatePageTemplate(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the creation form of a new page template 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
-
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(javax.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(javax.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
-