Class ModifyEntryJspBean
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.forms.web.admin.AbstractJspBean
fr.paris.lutece.plugins.forms.web.admin.ModifyEntryJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ModifyEntry.jsp",
controllerPath="jsp/admin/plugins/forms/",
right="FORMS_MANAGEMENT")
public class ModifyEntryJspBean
extends AbstractJspBean
This class provides the user interface to manage Form features ( manage, create, modify, remove )
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRight to manage formsstatic final StringKey of the security token of the links that move a field, put in the page of the question byAbstractFormQuestionJspBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateField(jakarta.servlet.http.HttpServletRequest request) Perform creation fielddoModifyField(jakarta.servlet.http.HttpServletRequest request) Perform modification fielddoMoveFieldDown(jakarta.servlet.http.HttpServletRequest request) Move a field downdoMoveFieldUp(jakarta.servlet.http.HttpServletRequest request) Move a field updoRemoveField(jakarta.servlet.http.HttpServletRequest request) Perform suppression fieldgetConfirmRemoveField(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete fieldgetCreateField(jakarta.servlet.http.HttpServletRequest request) Gets the field creation pagegetModifyField(jakarta.servlet.http.HttpServletRequest request) Gets the field modification pageprocessController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The user must be allowed to modify every form referenced by the request, whatever the view or actionMethods 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
-
RIGHT_MANAGE_FORMS
Right to manage forms- See Also:
-
TOKEN_ACTION_MOVE_FIELD
Key of the security token of the links that move a field, put in the page of the question byAbstractFormQuestionJspBean- See Also:
-
-
Constructor Details
-
ModifyEntryJspBean
public ModifyEntryJspBean()
-
-
Method Details
-
processController
public String processController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws fr.paris.lutece.portal.service.admin.AccessDeniedException The user must be allowed to modify every form referenced by the request, whatever the view or action- Overrides:
processControllerin classfr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getCreateField
Gets the field creation page- Parameters:
request- The HTTP request- Returns:
- the field creation page
-
getModifyField
Gets the field modification page- Parameters:
request- The HTTP request- Returns:
- the field modification page
-
doCreateField
@Action("createField") public String doCreateField(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform creation field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the security token is invalid or if the user is not authorized on the form of the question
-
doModifyField
@Action("modifyField") public String doModifyField(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform modification field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the security token is invalid or if the user is not authorized on the form of the question
-
getConfirmRemoveField
@View(value="confirmRemoveField", securityTokenAction="removeField") public String getConfirmRemoveField(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete field- Parameters:
request- The HTTP request- Returns:
- the html code to confirm
-
doRemoveField
@Action("removeField") public String doRemoveField(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform suppression field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the security token is invalid or if the user is not authorized on the form of the question
-
doMoveFieldUp
@Action("moveFieldUp") public String doMoveFieldUp(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Move a field up- Parameters:
request- The request- Returns:
- The next URL to redirect to
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the security token is invalid or if the user is not authorized on the form of the question
-
doMoveFieldDown
@Action("moveFieldDown") public String doMoveFieldDown(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Move a field down- Parameters:
request- The request- Returns:
- The next URL to redirect to
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- if the security token is invalid or if the user is not authorized on the form of the question
-