Class AdminMenuJspBean

  • All Implemented Interfaces:
    Serializable

    public class AdminMenuJspBean
    extends Object
    implements Serializable
    This class provides the user interface to manage admin features ( manage, create, modify, remove)
    See Also:
    Serialized Form
    • Constructor Detail

      • AdminMenuJspBean

        public AdminMenuJspBean()
    • Method Detail

      • getAdminMenuHeader

        public String getAdminMenuHeader​(javax.servlet.http.HttpServletRequest request)
        Returns the Administration header menu
        Parameters:
        request - The HttpServletRequest
        Returns:
        The html code of the header
      • getAdminMenuFooter

        public String getAdminMenuFooter​(javax.servlet.http.HttpServletRequest request)
        Returns the Administration footer menu
        Parameters:
        request - The HttpServletRequest
        Returns:
        The html code of the header
      • getAdminMenuUser

        public String getAdminMenuUser​(javax.servlet.http.HttpServletRequest request)
        Returns the html code of the menu of the users
        Parameters:
        request - The Http request
        Returns:
        The html code of the users menu
      • doChangeLanguage

        public String doChangeLanguage​(javax.servlet.http.HttpServletRequest request)
                                throws AccessDeniedException
        Change the current language of the user
        Parameters:
        request - The HTTP request
        Returns:
        The forward Url
        Throws:
        AccessDeniedException - if the security token is invalid
      • getModifyDefaultAdminUserPassword

        public String getModifyDefaultAdminUserPassword​(javax.servlet.http.HttpServletRequest request)
        Display the modification form for user password. This is used only by the default module. For other modules, custom implementation should be provided.
        Parameters:
        request - the http request
        Returns:
        the form allowing the modification of the user's password
      • doModifyDefaultAdminUserPassword

        public String doModifyDefaultAdminUserPassword​(javax.servlet.http.HttpServletRequest request)
                                                throws AccessDeniedException
        Perform the user password modification. This is used only by the default module. For other modules, custom implementation should be provided.
        Parameters:
        request - the http request
        Returns:
        the form allowing the modification of the user's password
        Throws:
        AccessDeniedException - if the security token is invalid
      • doModifyAccessibilityMode

        public String doModifyAccessibilityMode​(javax.servlet.http.HttpServletRequest request)
                                         throws AccessDeniedException
        Change the mode accessibility
        Parameters:
        request - HttpServletRequest
        Returns:
        The forward Url
        Throws:
        AccessDeniedException - if the security token is invalid
      • getAdminStyleSheets

        public String getAdminStyleSheets()
        Return the stylesheets block to include in the footer
        Returns:
        the stylesheets files block to include in the footer
        Since:
        5.1
      • resetAdminStylesheets

        public static void resetAdminStylesheets()