Class AppointmentFormEntryJspBean

  • All Implemented Interfaces:
    Serializable

    @Controller(controllerJsp="ManageAppointmentFormEntries.jsp",
                controllerPath="jsp/admin/plugins/appointment/",
                right="APPOINTMENT_FORM_MANAGEMENT")
    public class AppointmentFormEntryJspBean
    extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
    JspBean to manage appointment form entries
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Constructor Detail

      • AppointmentFormEntryJspBean

        public AppointmentFormEntryJspBean()
    • Method Detail

      • getModifyAppointmentFormEntries

        @View("modifyAppointmentFormEntries")
        public String getModifyAppointmentFormEntries​(javax.servlet.http.HttpServletRequest request)
                                               throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Get the view of the entries of the form
        Parameters:
        request - the request
        Returns:
        the page
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getCreateEntry

        @View("getCreateEntry")
        public String getCreateEntry​(javax.servlet.http.HttpServletRequest request)
        Get the HTML code to create an entry
        Parameters:
        request - The request
        Returns:
        The HTML code to display or the next URL to redirect to
      • doCreateEntry

        @Action("doCreateEntry")
        public String doCreateEntry​(javax.servlet.http.HttpServletRequest request)
        Do create an entry
        Parameters:
        request - the request
        Returns:
        The HTML code to display or the next URL to redirect to
      • getModifyEntry

        @View("getModifyEntry")
        public String getModifyEntry​(javax.servlet.http.HttpServletRequest request)
        Gets the entry modification page
        Parameters:
        request - The HTTP request
        Returns:
        The entry modification page
      • doModifyEntry

        @Action("doModifyEntry")
        public String doModifyEntry​(javax.servlet.http.HttpServletRequest request)
        Perform the entry modification
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • getConfirmRemoveEntry

        @View("confirmRemoveEntry")
        public String getConfirmRemoveEntry​(javax.servlet.http.HttpServletRequest request)
        Gets the confirmation page of delete entry
        Parameters:
        request - The HTTP request
        Returns:
        the confirmation page of delete entry
      • doRemoveEntry

        @Action("doRemoveEntry")
        public String doRemoveEntry​(javax.servlet.http.HttpServletRequest request)
        Perform the entry removal
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doMoveUpEntryConditional

        @Action("doMoveUpEntryConditional")
        public String doMoveUpEntryConditional​(javax.servlet.http.HttpServletRequest request)
        Do move up an conditional entry of a field
        Parameters:
        request - The request
        Returns:
        The next URL to redirect to
      • doMoveDownEntryConditional

        @Action("doMoveDownEntryConditional")
        public String doMoveDownEntryConditional​(javax.servlet.http.HttpServletRequest request)
        Do move down an conditional entry of a field
        Parameters:
        request - The request
        Returns:
        The next URL to redirect to
      • doCopyEntry

        @Action("doCopyEntry")
        public String doCopyEntry​(javax.servlet.http.HttpServletRequest request)
        Copy the entry whose key is specified in the HTTP request
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doChangeOrderEntry

        @Action("doChangeOrderEntry")
        public String doChangeOrderEntry​(javax.servlet.http.HttpServletRequest request)
        Change the attribute's order (move up or move down in the list)
        Parameters:
        request - the request
        Returns:
        The URL of the form management page
      • doMoveOutEntry

        @Action("doMoveOutEntry")
        public String doMoveOutEntry​(javax.servlet.http.HttpServletRequest request)
        Remove an entry from a group
        Parameters:
        request - The request
        Returns:
        The newt URL to redirect to
      • doRemoveRegularExpression

        @Action("doRemoveRegularExpression")
        public String doRemoveRegularExpression​(javax.servlet.http.HttpServletRequest request)
        Delete the association between a field and and regular expression
        Parameters:
        request - the HTTP Request
        Returns:
        The URL to go after performing the action
      • doInsertRegularExpression

        @Action("doInsertRegularExpression")
        public String doInsertRegularExpression​(javax.servlet.http.HttpServletRequest request)
        Insert an association between a field and a regular expression
        Parameters:
        request - the HTTP Request
        Returns:
        The URL to go after performing the action
      • getURLModifyEntry

        public static String getURLModifyEntry​(javax.servlet.http.HttpServletRequest request,
                                               int nIdEntry)
        Get the URL to modify an entry
        Parameters:
        request - The request
        nIdEntry - The id of the entry
        Returns:
        The URL to modify the given entry
      • getURLModifyAppointmentForm

        public static String getURLModifyAppointmentForm​(javax.servlet.http.HttpServletRequest request,
                                                         int nIdForm)
        Get the URL to modify an appointment form
        Parameters:
        request - The request
        nIdForm - The id of the form to modify
        Returns:
        The URL to modify the given Appointment form
      • getURLModifyAppointmentForm

        public static String getURLModifyAppointmentForm​(javax.servlet.http.HttpServletRequest request,
                                                         String strIdForm)
        Get the URL to modify an appointment form
        Parameters:
        request - The request
        strIdForm - The id of the form to modify
        Returns:
        The URL to modify the given Appointment form