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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateLabel(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new label
    doModifyLabel(javax.servlet.http.HttpServletRequest request)
    Process the change form of a label
    doRemoveLabel(javax.servlet.http.HttpServletRequest request)
    Handles the removal form of a label
    getConfirmRemoveLabel(javax.servlet.http.HttpServletRequest request)
    Manages the removal form of a label whose identifier is in the http request
    getCreateLabel(javax.servlet.http.HttpServletRequest request)
    Returns the form to create a label
    getManageLabels(javax.servlet.http.HttpServletRequest request)
    Get ManageLabels View
    getModifyLabel(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

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      @View("createLabel") public 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 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

      @View("modifyLabel") public 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 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