Class 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.MVCAdminJspBean
    JspBean to manage appointment form fieldsl
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateField​(javax.servlet.http.HttpServletRequest request)
      Perform creation field
      java.lang.String doModifyField​(javax.servlet.http.HttpServletRequest request)
      Perform modification field
      java.lang.String doModifyFieldWithConditionalQuestions​(javax.servlet.http.HttpServletRequest request)
      Perform modification field
      java.lang.String doMoveField​(javax.servlet.http.HttpServletRequest request, boolean bMoveUp)
      Move a field up or down
      java.lang.String doMoveFieldDown​(javax.servlet.http.HttpServletRequest request)
      Move a field up
      java.lang.String doMoveFieldUp​(javax.servlet.http.HttpServletRequest request)
      Move a field up
      java.lang.String doRemoveField​(javax.servlet.http.HttpServletRequest request)
      Perform the suppression of a field
      java.lang.String getConfirmRemoveField​(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page before deleting a field
      java.lang.String getCreateField​(javax.servlet.http.HttpServletRequest request)
      Gets the field creation page
      java.lang.String getModifyField​(javax.servlet.http.HttpServletRequest request)
      Get the page to modify a field without displaying its conditional questions
      java.lang.String getModifyFieldWithConditionalQuestions​(javax.servlet.http.HttpServletRequest request)
      Get the page to modify a field with its conditional questions
      static java.lang.String getUrlModifyField​(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
      • Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

        getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

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

      • AppointmentFormFieldJspBean

        public AppointmentFormFieldJspBean()
    • 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 request
        bMoveUp - 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 request
        nIdField - The id of the field
        Returns:
        The URL of the page to modify the field