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:
java.io.Serializable
public class PageTemplatesJspBean extends AdminFeaturesPageJspBean
This class provides the user interface to manage page templates features ( manage, create, modify, remove)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_MANAGE_PAGE_TEMPLATESRight to manage page templates
-
Constructor Summary
Constructors Constructor Description PageTemplatesJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreatePageTemplate(javax.servlet.http.HttpServletRequest request)Processes the creation form of a new page template by recovering the parameters in the http requestjava.lang.StringdoModifyPageTemplate(javax.servlet.http.HttpServletRequest request)Processes the updating form of a page template whose new parameters are stored in the http requestjava.lang.StringdoRemovePageTemplate(javax.servlet.http.HttpServletRequest request)Processes the deletion of a page templatejava.lang.StringgetConfirmRemovePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the confirm of removing the page_template whose identifier is in the http requestjava.lang.StringgetCreatePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the page template form of creationjava.lang.StringgetManagePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the list of page templatesjava.lang.StringgetModifyPageTemplate(javax.servlet.http.HttpServletRequest request)Returns the page template form of update-
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_PAGE_TEMPLATES
public static final java.lang.String RIGHT_MANAGE_PAGE_TEMPLATES
Right to manage page templates- See Also:
- Constant Field Values
-
-
Method Detail
-
getManagePageTemplate
public java.lang.String getManagePageTemplate(javax.servlet.http.HttpServletRequest request)
Returns the list of page templates- Parameters:
request- The Http request- Returns:
- the html code for display the page templates list
-
getCreatePageTemplate
public java.lang.String getCreatePageTemplate(javax.servlet.http.HttpServletRequest request)
Returns the page template form of creation- Parameters:
request- The Http request- Returns:
- the html code of the page template
-
doCreatePageTemplate
public java.lang.String doCreatePageTemplate(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
public java.lang.String getModifyPageTemplate(javax.servlet.http.HttpServletRequest request)
Returns the page template form of update- Parameters:
request- The Http request- Returns:
- the html code of the page template form
-
doModifyPageTemplate
public java.lang.String doModifyPageTemplate(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
public java.lang.String getConfirmRemovePageTemplate(javax.servlet.http.HttpServletRequest request)
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 java.lang.String doRemovePageTemplate(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
-
-