Class AppointmentPopupContentProvider
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.leaflet.service.AppointmentPopupContentProvider
- All Implemented Interfaces:
fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider
@ApplicationScoped
@Named("leaflet-rest-popup-provider-appointment")
public class AppointmentPopupContentProvider
extends Object
implements fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AppointmentPopupContentProvider
public AppointmentPopupContentProvider()
-
-
Method Details
-
getPopup
public String getPopup(jakarta.servlet.http.HttpServletRequest request, String strIdDocument, String strCode) Build the popup of an appointment form on the map: its title, its address and its first bookable slot.- Specified by:
getPopupin interfacefr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider- Parameters:
request- the requeststrIdDocument- the id of the appointment formstrCode- the code of the layer- Returns:
- the HTML of the popup, or an empty string for an unknown form
-