Class LevelsJspBean

    • Constructor Detail

      • LevelsJspBean

        public LevelsJspBean()
    • Method Detail

      • getCreateLevel

        public String getCreateLevel​(javax.servlet.http.HttpServletRequest request)
        Returns the level form of creation
        Parameters:
        request - The Http request
        Returns:
        the html code of the level
      • doCreateLevel

        public String doCreateLevel​(javax.servlet.http.HttpServletRequest request)
                             throws AccessDeniedException
        Processes the creation form of a new level 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
      • getModifyLevel

        public String getModifyLevel​(javax.servlet.http.HttpServletRequest request)
        Returns the level form of update
        Parameters:
        request - The Http request
        Returns:
        the html code of the level form
      • doModifyLevel

        public String doModifyLevel​(javax.servlet.http.HttpServletRequest request)
                             throws AccessDeniedException
        Processes the updating form of a level 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