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
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 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 StringdoCreatePageTemplate(javax.servlet.http.HttpServletRequest request)Processes the creation form of a new page template by recovering the parameters in the http requestStringdoModifyPageTemplate(javax.servlet.http.HttpServletRequest request)Processes the updating form of a page template whose new parameters are stored in the http requestStringdoRemovePageTemplate(javax.servlet.http.HttpServletRequest request)Processes the deletion of a page templateStringgetConfirmRemovePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the confirm of removing the page_template whose identifier is in the http requestStringgetCreatePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the page template form of creationStringgetManagePageTemplate(javax.servlet.http.HttpServletRequest request)Returns the list of page templatesStringgetModifyPageTemplate(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 String RIGHT_MANAGE_PAGE_TEMPLATES
Right to manage page templates- See Also:
- Constant Field Values
-
-
Method Detail
-
getManagePageTemplate
public 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 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 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
public 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 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
public 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 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
-
-