Class LevelsJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.features.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 Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_MANAGE_LEVELS
-
Constructor Summary
Constructors Constructor Description LevelsJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateLevel(javax.servlet.http.HttpServletRequest request)Processes the creation form of a new level by recovering the parameters in the http requestjava.lang.StringdoModifyLevel(javax.servlet.http.HttpServletRequest request)Processes the updating form of a level whose new parameters are stored in the http requestjava.lang.StringgetCreateLevel(javax.servlet.http.HttpServletRequest request)Returns the level form of creationjava.lang.StringgetModifyLevel(javax.servlet.http.HttpServletRequest request)Returns the level form of update-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_MANAGE_LEVELS
public static final java.lang.String RIGHT_MANAGE_LEVELS
- See Also:
- Constant Field Values
-
-
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 AccessDeniedExceptionProcesses 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 AccessDeniedExceptionProcesses 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
-
-