Class LevelsJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.features.LevelsJspBean
-
- All Implemented Interfaces:
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 StringRIGHT_MANAGE_LEVELS
-
Constructor Summary
Constructors Constructor Description LevelsJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoCreateLevel(javax.servlet.http.HttpServletRequest request)Processes the creation form of a new level by recovering the parameters in the http requestStringdoModifyLevel(javax.servlet.http.HttpServletRequest request)Processes the updating form of a level whose new parameters are stored in the http requestStringgetCreateLevel(javax.servlet.http.HttpServletRequest request)Returns the level form of creationStringgetModifyLevel(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 String RIGHT_MANAGE_LEVELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateLevel
public 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 String doCreateLevel(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
Processes 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 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 String doModifyLevel(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
Processes 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
-
-