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:
java.io.Serializable
@Controller(controllerJsp="ManageLabels.jsp", controllerPath="jsp/admin/plugins/sitelabels/", right="SITELABELS_MANAGEMENT") public class LabelJspBean extends ManageSiteLabelsJspBeanThis class provides the user interface to manage Label features ( manage, create, modify, remove )- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class fr.paris.lutece.plugins.sitelabels.web.ManageSiteLabelsJspBean
RIGHT_MANAGESITELABELS
-
-
Constructor Summary
Constructors Constructor Description LabelJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateLabel(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new labeljava.lang.StringdoModifyLabel(javax.servlet.http.HttpServletRequest request)Process the change form of a labeljava.lang.StringdoRemoveLabel(javax.servlet.http.HttpServletRequest request)Handles the removal form of a labeljava.lang.StringgetConfirmRemoveLabel(javax.servlet.http.HttpServletRequest request)Manages the removal form of a label whose identifier is in the http requestjava.lang.StringgetCreateLabel(javax.servlet.http.HttpServletRequest request)Returns the form to create a labeljava.lang.StringgetManageLabels(javax.servlet.http.HttpServletRequest request)Get ManageLabels Viewjava.lang.StringgetModifyLabel(javax.servlet.http.HttpServletRequest request)Returns the form to update info about a label-
Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processController
-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Method Detail
-
getManageLabels
@View(value="manageLabels", defaultView=true) public java.lang.String getManageLabels(javax.servlet.http.HttpServletRequest request)Get ManageLabels View- Parameters:
request- The HTTP request- Returns:
- The view
-
getCreateLabel
@View("createLabel") public java.lang.String getCreateLabel(javax.servlet.http.HttpServletRequest request)Returns the form to create a label- Parameters:
request- The Http request- Returns:
- the html code of the label form
-
doCreateLabel
@Action("createLabel") public java.lang.String doCreateLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.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 java.lang.String doRemoveLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionHandles 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
@View("modifyLabel") public java.lang.String getModifyLabel(javax.servlet.http.HttpServletRequest request)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 java.lang.String doModifyLabel(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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
-
-