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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.web.xpages.XPagepresearch(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.XPageviewPreDemandeForm(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
-
Field Details
-
XPAGE_NAME
The name of the XPage- See Also:
-
VIEW_PREDEMANDEFORM
- See Also:
-
-
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
-