Class AppointmentAntsApp

java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.appointment.modules.ants.web.AppointmentAntsApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication, Serializable

@RequestScoped @Named("appointment-ants.xpage.appointmentants") @Controller(xpageName="appointmentants", pageTitleI18nKey="module.appointment.ants.pageTitle", pagePathI18nKey="module.appointment.ants.pagePathLabel") public class AppointmentAntsApp extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
    The name of the XPage
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.portal.web.xpages.XPage
    presearch(jakarta.servlet.http.HttpServletRequest request)
    Checks the pre-demand codes against the ANTS API, then redirects to the booking of the chosen slot (user coming from the ANTS web site) or to the appointment search.
    fr.paris.lutece.portal.web.xpages.XPage
    viewPreDemandeForm(jakarta.servlet.http.HttpServletRequest request)
    Returns the content of the page preDemandeForm, filled with the values of the request that have the expected format.

    Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

    getPage, getRealClass

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • AppointmentAntsApp

      public AppointmentAntsApp()
  • Method Details

    • viewPreDemandeForm

      @View(value="predemandeForm", defaultView=true) public fr.paris.lutece.portal.web.xpages.XPage viewPreDemandeForm(jakarta.servlet.http.HttpServletRequest request)
      Returns the content of the page preDemandeForm, filled with the values of the request that have the expected format.
      Parameters:
      request - The HTTP request
      Returns:
      The view
    • presearch

      @Action("presearch") public fr.paris.lutece.portal.web.xpages.XPage presearch(jakarta.servlet.http.HttpServletRequest request) throws IOException
      Checks the pre-demand codes against the ANTS API, then redirects to the booking of the chosen slot (user coming from the ANTS web site) or to the appointment search.
      Parameters:
      request - The HTTP request
      Returns:
      The view
      Throws:
      IOException - If the redirection fails