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:
java.io.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 java.lang.StringdoCreateField(javax.servlet.http.HttpServletRequest request)Perform creation fieldjava.lang.StringdoModifyField(javax.servlet.http.HttpServletRequest request)Perform modification fieldjava.lang.StringdoModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request)Perform modification fieldjava.lang.StringdoMoveField(javax.servlet.http.HttpServletRequest request, boolean bMoveUp)Move a field up or downjava.lang.StringdoMoveFieldDown(javax.servlet.http.HttpServletRequest request)Move a field upjava.lang.StringdoMoveFieldUp(javax.servlet.http.HttpServletRequest request)Move a field upjava.lang.StringdoRemoveField(javax.servlet.http.HttpServletRequest request)Perform the suppression of a fieldjava.lang.StringgetConfirmRemoveField(javax.servlet.http.HttpServletRequest request)Gets the confirmation page before deleting a fieldjava.lang.StringgetCreateField(javax.servlet.http.HttpServletRequest request)Gets the field creation pagejava.lang.StringgetModifyField(javax.servlet.http.HttpServletRequest request)Get the page to modify a field without displaying its conditional questionsjava.lang.StringgetModifyFieldWithConditionalQuestions(javax.servlet.http.HttpServletRequest request)Get the page to modify a field with its conditional questionsstatic java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String doMoveFieldDown(javax.servlet.http.HttpServletRequest request)Move a field up- Parameters:
request- The request- Returns:
- The next URL to redirect to
-
doMoveField
public java.lang.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 java.lang.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
-
-