Class LabelJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.sitelabels.web.ManageSiteLabelsJspBean
fr.paris.lutece.plugins.sitelabels.web.LabelJspBean
- All Implemented Interfaces:
Serializable
@Controller(controllerJsp="ManageLabels.jsp",
controllerPath="jsp/admin/plugins/sitelabels/",
right="SITELABELS_MANAGEMENT")
public class LabelJspBean
extends ManageSiteLabelsJspBean
This class provides the user interface to manage Label features ( manage, create, modify, remove )
- See Also:
-
Field Summary
Fields inherited from class fr.paris.lutece.plugins.sitelabels.web.ManageSiteLabelsJspBean
RIGHT_MANAGESITELABELS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateLabel(javax.servlet.http.HttpServletRequest request) Process the data capture form of a new labeldoModifyLabel(javax.servlet.http.HttpServletRequest request) Process the change form of a labeldoRemoveLabel(javax.servlet.http.HttpServletRequest request) Handles the removal form of a labelgetConfirmRemoveLabel(javax.servlet.http.HttpServletRequest request) Manages the removal form of a label whose identifier is in the http requestgetCreateLabel(javax.servlet.http.HttpServletRequest request) Returns the form to create a labelgetManageLabels(javax.servlet.http.HttpServletRequest request) Get ManageLabels ViewgetModifyLabel(javax.servlet.http.HttpServletRequest request) Returns the form to update info about a labelMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
LabelJspBean
public LabelJspBean()
-
-
Method Details
-
getManageLabels
@View(value="manageLabels", defaultView=true) public String getManageLabels(javax.servlet.http.HttpServletRequest request) Get ManageLabels View- Parameters:
request- The HTTP request- Returns:
- The view
-
getCreateLabel
Returns the form to create a label- Parameters:
request- The Http request- Returns:
- the html code of the label form
-
doCreateLabel
@Action("createLabel") public String doCreateLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the data capture form of a new label- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the CSRF token cannot be validated
-
getConfirmRemoveLabel
@Action("confirmRemoveLabel") public String getConfirmRemoveLabel(javax.servlet.http.HttpServletRequest request) Manages the removal form of a label whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
doRemoveLabel
@Action("removeLabel") public String doRemoveLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Handles the removal form of a label- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage labels
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the CSRF token cannot be validated
-
getModifyLabel
Returns the form to update info about a label- Parameters:
request- The Http request- Returns:
- The HTML form to update info
-
doModifyLabel
@Action("modifyLabel") public String doModifyLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the change form of a label- Parameters:
request- The Http request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the CSRF token cannot be validated
-