Class SolrAppointmentListener
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.solr.service.SolrAppointmentListener
Appointment listeners for Solr.
All observer methods use
@ObservesAsync because the appointment plugin
fires all events with fireAsync(). The CDI container handles the async
execution — no manual threading needed.- Author:
- Laurent Payen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonFormChanged(fr.paris.lutece.plugins.appointment.service.event.FormEvent event) Observes form creation and change eventsvoidonFormRemoved(fr.paris.lutece.plugins.appointment.service.event.AppointmentFormRemovalEvent event) Observes form removal eventsvoidonSlotChanged(fr.paris.lutece.plugins.appointment.service.event.SlotEvent event) Observes slot creation and change eventsvoidonSlotEndingTimeChanged(fr.paris.lutece.plugins.appointment.service.event.SlotEndingTimeChangedEvent event) Observes slot ending time change eventsvoidonWeekDefinitionChanged(fr.paris.lutece.plugins.appointment.service.event.WeekDefinitionEvent event) Observes week definition events (assigned, unassigned, list changed)
-
Constructor Details
-
SolrAppointmentListener
public SolrAppointmentListener()
-
-
Method Details
-
onSlotChanged
public void onSlotChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.SlotEvent event) Observes slot creation and change events- Parameters:
event- the slot event
-
onSlotEndingTimeChanged
public void onSlotEndingTimeChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.SlotEndingTimeChangedEvent event) Observes slot ending time change events- Parameters:
event- the slot ending time changed event
-
onFormChanged
public void onFormChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.FormEvent event) Observes form creation and change events- Parameters:
event- the form event
-
onFormRemoved
public void onFormRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentFormRemovalEvent event) Observes form removal events- Parameters:
event- the form removal event
-
onWeekDefinitionChanged
public void onWeekDefinitionChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.WeekDefinitionEvent event) Observes week definition events (assigned, unassigned, list changed)- Parameters:
event- the week definition event
-