Class AppointmentFormFieldJspBean
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.appointment.web.AppointmentFormFieldJspBean
- All Implemented Interfaces:
Serializable
@Controller(controllerJsp="ManageAppointmentFormFields.jsp",
controllerPath="jsp/admin/plugins/appointment/",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentFormFieldJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
JspBean to manage appointment form fieldsl
- Author:
- Laurent Payen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateField(javax.servlet.http.HttpServletRequest request) Perform creation fielddoModifyField(javax.servlet.http.HttpServletRequest request) Perform modification fielddoModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request) Perform modification fielddoMoveField(javax.servlet.http.HttpServletRequest request, boolean bMoveUp) Move a field up or downdoMoveFieldDown(javax.servlet.http.HttpServletRequest request) Move a field updoMoveFieldUp(javax.servlet.http.HttpServletRequest request) Move a field updoRemoveField(javax.servlet.http.HttpServletRequest request) Perform the suppression of a fieldgetConfirmRemoveField(javax.servlet.http.HttpServletRequest request) Gets the confirmation page before deleting a fieldgetCreateField(javax.servlet.http.HttpServletRequest request) Gets the field creation pagegetModifyField(javax.servlet.http.HttpServletRequest request) Get the page to modify a field without displaying its conditional questionsgetModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request) Get the page to modify a field with its conditional questionsstatic StringgetUrlModifyField(javax.servlet.http.HttpServletRequest request, int nIdField) Get the URL to modify a field.Methods 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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
AppointmentFormFieldJspBean
public AppointmentFormFieldJspBean()
-
-
Method Details
-
getCreateField
Gets the field creation page- Parameters:
request- The HTTP request- Returns:
- the field creation page
-
getModifyField
Get the page to modify a field without displaying its conditional questions- Parameters:
request- The request- Returns:
- The HTML content to display, or the next URL to redirect to
-
getModifyFieldWithConditionalQuestions
@View("getModifyFieldCC") public String getModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request) Get the page to modify a field with its conditional questions- Parameters:
request- The request- Returns:
- The HTML content to display, or the next URL to redirect to
-
doCreateField
Perform creation field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doModifyField
Perform modification field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doModifyFieldWithConditionalQuestions
@Action("doModifyFieldCC") public String doModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request) Perform modification field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmRemoveField
@View("getConfirmRemoveField") public String getConfirmRemoveField(javax.servlet.http.HttpServletRequest request) Gets the confirmation page before deleting a field- Parameters:
request- The HTTP request- Returns:
- the confirmation page before deleting a field
-
doRemoveField
Perform the suppression of a field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveFieldUp
Move a field up- Parameters:
request- The request- Returns:
- The next URL to redirect to
-
doMoveFieldDown
@Action("doMoveFieldDown") public String doMoveFieldDown(javax.servlet.http.HttpServletRequest request) Move a field up- Parameters:
request- The request- Returns:
- The next URL to redirect to
-
doMoveField
Move a field up or down- Parameters:
request- The requestbMoveUp- True to move the field up, false to move it down- Returns:
- The next URL to redirect to
-
getUrlModifyField
Get the URL to modify a field. The field is assumed to allow conditional questions.- Parameters:
request- The requestnIdField- The id of the field- Returns:
- The URL of the page to modify the field
-