Class LevelsJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    public class LevelsJspBean
    extends AdminFeaturesPageJspBean
    This class provides the user interface to manage levels features ( manage, create, modify )
    See Also:
    Serialized Form
    • Field Detail

      • RIGHT_MANAGE_LEVELS

        public static final java.lang.String RIGHT_MANAGE_LEVELS
        See Also:
        Constant Field Values
    • Constructor Detail

      • LevelsJspBean

        public LevelsJspBean()
    • Method Detail

      • getCreateLevel

        public java.lang.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 java.lang.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 java.lang.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 java.lang.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