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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request) Change the assignment for attribute file/image of the document typedoCreateMapping(jakarta.servlet.http.HttpServletRequest request) Performs the creation of the mappingdoModifyAttribute(jakarta.servlet.http.HttpServletRequest request) Performs the modification of the attributedoModifyMapping(jakarta.servlet.http.HttpServletRequest request) Performs the modification of the mappingdoRemoveMapping(jakarta.servlet.http.HttpServletRequest request) Performs the removal of the mappinggetConfirmChangeAttributeFileImage(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation to move the file of the mapping to another file/image attributegetConfirmRemoveMapping(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation to remove the mappinggetCreateMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model) Gets the mapping creation pagegetManageMapping(fr.paris.lutece.portal.web.cdi.mvc.Models model) Gets the mapping management pagegetModifyAttribute(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Gets the attribute modification pagegetModifyMapping(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Gets the mapping modification pageMethods 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, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
MAPPING_MANAGEMENT
- See Also:
-
-
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 requestmodel- 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 requestmodel- 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
-