Class PageTemplatesJspBean

    • Field Detail

      • RIGHT_MANAGE_PAGE_TEMPLATES

        public static final String RIGHT_MANAGE_PAGE_TEMPLATES
        Right to manage page templates
        See Also:
        Constant Field Values
    • Constructor Detail

      • PageTemplatesJspBean

        public PageTemplatesJspBean()
    • 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