Class AdminMenuJspBean

  • All Implemented Interfaces:
    java.io.Serializable

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

      • PROPERTY_LOGOUT_URL

        public static final java.lang.String PROPERTY_LOGOUT_URL
        See Also:
        Constant Field Values
      • PROPERTY_MENU_DEFAULT_POS

        public static final java.lang.String PROPERTY_MENU_DEFAULT_POS
        See Also:
        Constant Field Values
      • PROPERTY_MENU_DATASTORE_POS

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

      • AdminMenuJspBean

        public AdminMenuJspBean()
    • Method Detail

      • getAdminMenuHeader

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