Package fr.paris.lutece.portal.web.admin
Class AdminMenuJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminMenuJspBean
-
- All Implemented Interfaces:
java.io.Serializable
public class AdminMenuJspBean extends java.lang.Object implements java.io.SerializableThis class provides the user interface to manage admin features ( manage, create, modify, remove)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_LOGOUT_URLstatic java.lang.StringPROPERTY_MENU_DATASTORE_POSstatic java.lang.StringPROPERTY_MENU_DEFAULT_POS
-
Constructor Summary
Constructors Constructor Description AdminMenuJspBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoChangeLanguage(javax.servlet.http.HttpServletRequest request)Change the current language of the userjava.lang.StringdoModifyAccessibilityMode(javax.servlet.http.HttpServletRequest request)Change the mode accessibilityjava.lang.StringdoModifyDefaultAdminUserPassword(javax.servlet.http.HttpServletRequest request)Perform the user password modification.java.lang.StringgetAdminMenuFooter(javax.servlet.http.HttpServletRequest request)Returns the Administration footer menujava.lang.StringgetAdminMenuHeader(javax.servlet.http.HttpServletRequest request)Returns the Administration header menujava.lang.StringgetAdminMenuUser(javax.servlet.http.HttpServletRequest request)Returns the html code of the menu of the usersjava.lang.StringgetAdminStyleSheets()Return the stylesheets block to include in the footerjava.lang.StringgetModifyDefaultAdminUserPassword(javax.servlet.http.HttpServletRequest request)Display the modification form for user password.static voidresetAdminStylesheets()
-
-
-
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
-
-
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 AccessDeniedExceptionChange 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 AccessDeniedExceptionPerform 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 AccessDeniedExceptionChange 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()
-
-