Package fr.paris.lutece.portal.web.admin
Class AdminMenuJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_LOGOUT_URLstatic StringPROPERTY_MENU_DATASTORE_POSstatic 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 StringdoChangeLanguage(javax.servlet.http.HttpServletRequest request)Change the current language of the userStringdoModifyAccessibilityMode(javax.servlet.http.HttpServletRequest request)Change the mode accessibilityStringdoModifyDefaultAdminUserPassword(javax.servlet.http.HttpServletRequest request)Perform the user password modification.StringgetAdminMenuFooter(javax.servlet.http.HttpServletRequest request)Returns the Administration footer menuStringgetAdminMenuHeader(javax.servlet.http.HttpServletRequest request)Returns the Administration header menuStringgetAdminMenuUser(javax.servlet.http.HttpServletRequest request)Returns the html code of the menu of the usersStringgetAdminStyleSheets()Return the stylesheets block to include in the footerStringgetModifyDefaultAdminUserPassword(javax.servlet.http.HttpServletRequest request)Display the modification form for user password.static voidresetAdminStylesheets()
-
-
-
Field Detail
-
PROPERTY_LOGOUT_URL
public static final String PROPERTY_LOGOUT_URL
- See Also:
- Constant Field Values
-
PROPERTY_MENU_DEFAULT_POS
public static final String PROPERTY_MENU_DEFAULT_POS
- See Also:
- Constant Field Values
-
PROPERTY_MENU_DATASTORE_POS
public static final String PROPERTY_MENU_DATASTORE_POS
- See Also:
- Constant Field Values
-
-
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()
-
-