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

@RequestScoped @Named @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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateField(jakarta.servlet.http.HttpServletRequest request)
    Perform creation field
    doModifyField(jakarta.servlet.http.HttpServletRequest request)
    Perform modification field
    doModifyFieldWithConditionalQuestions(jakarta.servlet.http.HttpServletRequest request)
    Perform modification field
    doMoveField(jakarta.servlet.http.HttpServletRequest request, boolean bMoveUp)
    Move a field up or down
    doMoveFieldDown(jakarta.servlet.http.HttpServletRequest request)
    Move a field up
    doMoveFieldUp(jakarta.servlet.http.HttpServletRequest request)
    Move a field up
    doRemoveField(jakarta.servlet.http.HttpServletRequest request)
    Perform the suppression of a field
    getConfirmRemoveField(jakarta.servlet.http.HttpServletRequest request)
    Gets the confirmation page before deleting a field
    getCreateField(jakarta.servlet.http.HttpServletRequest request)
    Gets the field creation page
    getModifyField(jakarta.servlet.http.HttpServletRequest request)
    Get the page to modify a field without displaying its conditional questions
    getModifyFieldWithConditionalQuestions(jakarta.servlet.http.HttpServletRequest request)
    Get the page to modify a field with its conditional questions
    static String
    getUrlModifyField(jakarta.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

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AppointmentFormFieldJspBean

      public AppointmentFormFieldJspBean()
  • Method Details

    • getCreateField

      @View("getCreateField") public String getCreateField(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.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(jakarta.servlet.http.HttpServletRequest request)
      Move a field up
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
    • doMoveField

      public String doMoveField(jakarta.servlet.http.HttpServletRequest request, boolean bMoveUp)
      Move a field up or down
      Parameters:
      request - The request
      bMoveUp - True to move the field up, false to move it down
      Returns:
      The next URL to redirect to
    • getUrlModifyField

      public static String getUrlModifyField(jakarta.servlet.http.HttpServletRequest request, int nIdField)
      Get the URL to modify a field. The field is assumed to allow conditional questions.
      Parameters:
      request - The request
      nIdField - The id of the field
      Returns:
      The URL of the page to modify the field