Class AppointmentFormEntryJspBean

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doChangeActive​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String doChangeOrderEntry​(javax.servlet.http.HttpServletRequest request)
      Change the attribute's order (move up or move down in the list)
      java.lang.String doCopyEntry​(javax.servlet.http.HttpServletRequest request)
      Copy the entry whose key is specified in the HTTP request
      java.lang.String doCreateEntry​(javax.servlet.http.HttpServletRequest request)
      Do create an entry
      java.lang.String doInsertRegularExpression​(javax.servlet.http.HttpServletRequest request)
      Insert an association between a field and a regular expression
      java.lang.String doModifyEntry​(javax.servlet.http.HttpServletRequest request)
      Perform the entry modification
      java.lang.String doMoveDownEntryConditional​(javax.servlet.http.HttpServletRequest request)
      Do move down an conditional entry of a field
      java.lang.String doMoveOutEntry​(javax.servlet.http.HttpServletRequest request)
      Remove an entry from a group
      java.lang.String doMoveUpEntryConditional​(javax.servlet.http.HttpServletRequest request)
      Do move up an conditional entry of a field
      java.lang.String doRemoveEntry​(javax.servlet.http.HttpServletRequest request)
      Perform the entry removal
      java.lang.String doRemoveRegularExpression​(javax.servlet.http.HttpServletRequest request)
      Delete the association between a field and and regular expression
      java.lang.String getConfirmRemoveEntry​(javax.servlet.http.HttpServletRequest request)
      Gets the confirmation page of delete entry
      java.lang.String getCreateEntry​(javax.servlet.http.HttpServletRequest request)
      Get the HTML code to create an entry
      java.lang.String getModifyAppointmentFormEntries​(javax.servlet.http.HttpServletRequest request)
      Get the view of the entries of the form
      java.lang.String getModifyEntry​(javax.servlet.http.HttpServletRequest request)
      Gets the entry modification page
      static java.lang.String getURLModifyAppointmentForm​(javax.servlet.http.HttpServletRequest request, int nIdForm)
      Get the URL to modify an appointment form
      static java.lang.String getURLModifyAppointmentForm​(javax.servlet.http.HttpServletRequest request, java.lang.String strIdForm)
      Get the URL to modify an appointment form
      static java.lang.String getURLModifyEntry​(javax.servlet.http.HttpServletRequest request, int nIdEntry)
      Get the URL to modify an entry
      • 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

      • AppointmentFormEntryJspBean

        public AppointmentFormEntryJspBean()
    • Method Detail

      • getModifyAppointmentFormEntries

        @View("modifyAppointmentFormEntries")
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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
      • doChangeActive

        @Action("doChangeDisabled")
        public java.lang.String doChangeActive​(javax.servlet.http.HttpServletRequest request)
      • getURLModifyEntry

        public static java.lang.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 java.lang.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 java.lang.String getURLModifyAppointmentForm​(javax.servlet.http.HttpServletRequest request,
                                                                   java.lang.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