Class LuceneAppointmentListener
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.management.service.indexer.LuceneAppointmentListener
Keeps the appointment search index in step with the appointments of the plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAppointmentCreated(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Index an appointment the plugin created (its events are fired asynchronously).voidonAppointmentDateChanged(fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event) Reindex an appointment moved to other slots.voidonAppointmentRemoved(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Remove from the index an appointment the plugin removed.voidonAppointmentUpdated(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Reindex an appointment the plugin updated.
-
Constructor Details
-
LuceneAppointmentListener
public LuceneAppointmentListener()
-
-
Method Details
-
onAppointmentCreated
public void onAppointmentCreated(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Index an appointment the plugin created (its events are fired asynchronously).- Parameters:
event- the appointment event
-
onAppointmentUpdated
public void onAppointmentUpdated(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Reindex an appointment the plugin updated.- Parameters:
event- the appointment event
-
onAppointmentRemoved
public void onAppointmentRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Remove from the index an appointment the plugin removed.- Parameters:
event- the appointment event
-
onAppointmentDateChanged
public void onAppointmentDateChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event) Reindex an appointment moved to other slots.- Parameters:
event- the appointment event
-