Class MappingJspBean

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.files2docs.web.MappingJspBean
All Implemented Interfaces:
Serializable

@SessionScoped @Named @Controller(controllerJsp="ManageMapping.jsp", controllerPath="jsp/admin/plugins/files2docs/", right="MAPPING_MANAGEMENT", securityTokenEnabled=true) public class MappingJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
Files2Docs Mapping JSP Bean class
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request)
    Change the assignment for attribute file/image of the document type
    doCreateMapping(jakarta.servlet.http.HttpServletRequest request)
    Performs the creation of the mapping
    doModifyAttribute(jakarta.servlet.http.HttpServletRequest request)
    Performs the modification of the attribute
    doModifyMapping(jakarta.servlet.http.HttpServletRequest request)
    Performs the modification of the mapping
    doRemoveMapping(jakarta.servlet.http.HttpServletRequest request)
    Performs the removal of the mapping
    getConfirmChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request)
    Asks the confirmation to move the file of the mapping to another file/image attribute
    getConfirmRemoveMapping(jakarta.servlet.http.HttpServletRequest request)
    Asks the confirmation to remove the mapping
    getCreateMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model)
    Gets the mapping creation page
    getManageMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model)
    Gets the mapping management page
    getModifyAttribute(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model)
    Gets the attribute modification page
    getModifyMapping(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model)
    Gets the mapping modification page

    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, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MappingJspBean

      public MappingJspBean()
  • Method Details

    • getManageMapping

      @View(value="manageMapping", defaultView=true) public String getManageMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model)
      Gets the mapping management page
      Parameters:
      model - The model
      Returns:
      The mapping management page
    • getCreateMapping

      @View("createMapping") public String getCreateMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model)
      Gets the mapping creation page
      Parameters:
      model - The model
      Returns:
      The mapping creation page
    • doCreateMapping

      @Action("createMapping") public String doCreateMapping(jakarta.servlet.http.HttpServletRequest request)
      Performs the creation of the mapping
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyMapping

      @View("modifyMapping") public String getModifyMapping(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model)
      Gets the mapping modification page
      Parameters:
      request - The HTTP request
      model - The model
      Returns:
      The mapping modification page
    • doModifyMapping

      @Action("modifyMapping") public String doModifyMapping(jakarta.servlet.http.HttpServletRequest request)
      Performs the modification of the mapping
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmRemoveMapping

      @View(value="confirmRemoveMapping", securityTokenAction="removeMapping") public String getConfirmRemoveMapping(jakarta.servlet.http.HttpServletRequest request)
      Asks the confirmation to remove the mapping
      Parameters:
      request - The HTTP request
      Returns:
      The confirmation page
    • doRemoveMapping

      @Action("removeMapping") public String doRemoveMapping(jakarta.servlet.http.HttpServletRequest request)
      Performs the removal of the mapping
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getModifyAttribute

      @View("modifyAttribute") public String getModifyAttribute(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model)
      Gets the attribute modification page
      Parameters:
      request - The HTTP request
      model - The model
      Returns:
      The attribute modification page
    • doModifyAttribute

      @Action("modifyAttribute") public String doModifyAttribute(jakarta.servlet.http.HttpServletRequest request)
      Performs the modification of the attribute
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getConfirmChangeAttributeFileImage

      @View(value="confirmChangeAttributeFileImage", securityTokenAction="changeAttributeFileImage") public String getConfirmChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request)
      Asks the confirmation to move the file of the mapping to another file/image attribute
      Parameters:
      request - The HTTP request
      Returns:
      The confirmation page
    • doChangeAttributeFileImage

      @Action("changeAttributeFileImage") public String doChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request)
      Change the assignment for attribute file/image of the document type
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action