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.MVCAdminJspBeanJspBean to manage appointment form fieldsl- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppointmentFormFieldJspBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoCreateField(javax.servlet.http.HttpServletRequest request)Perform creation fieldStringdoModifyField(javax.servlet.http.HttpServletRequest request)Perform modification fieldStringdoModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request)Perform modification fieldStringdoMoveField(javax.servlet.http.HttpServletRequest request, boolean bMoveUp)Move a field up or downStringdoMoveFieldDown(javax.servlet.http.HttpServletRequest request)Move a field upStringdoMoveFieldUp(javax.servlet.http.HttpServletRequest request)Move a field upStringdoRemoveField(javax.servlet.http.HttpServletRequest request)Perform the suppression of a fieldStringgetConfirmRemoveField(javax.servlet.http.HttpServletRequest request)Gets the confirmation page before deleting a fieldStringgetCreateField(javax.servlet.http.HttpServletRequest request)Gets the field creation pageStringgetModifyField(javax.servlet.http.HttpServletRequest request)Get the page to modify a field without displaying its conditional questionsStringgetModifyFieldWithConditionalQuestions(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
processController
-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Method Detail
-
getCreateField
@View("getCreateField") public String getCreateField(javax.servlet.http.HttpServletRequest request)Gets the field creation page- Parameters:
request- The HTTP request- Returns:
- the field creation page
-
getModifyField
@View("getModifyField") public String getModifyField(javax.servlet.http.HttpServletRequest request)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
@Action("doCreateField") public String doCreateField(javax.servlet.http.HttpServletRequest request)Perform creation field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doModifyField
@Action("doModifyField") public String doModifyField(javax.servlet.http.HttpServletRequest request)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
@Action("doRemoveField") public String doRemoveField(javax.servlet.http.HttpServletRequest request)Perform the suppression of a field- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveFieldUp
@Action("doMoveFieldUp") public String doMoveFieldUp(javax.servlet.http.HttpServletRequest request)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
public String doMoveField(javax.servlet.http.HttpServletRequest request, boolean bMoveUp)
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
public static String getUrlModifyField(javax.servlet.http.HttpServletRequest request, int nIdField)
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
-
-