Class AppointmentResourceListener
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.resource.service.listeners.AppointmentResourceListener
CDI event listener for appointment resources.
Cleans up resource associations when appointments are removed or rescheduled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAppointmentDateChanged(fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event) Handle appointment date change by deleting associated resources.voidonAppointmentRemoved(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Handle appointment removal by deleting associated resources.
-
Constructor Details
-
AppointmentResourceListener
public AppointmentResourceListener()
-
-
Method Details
-
onAppointmentRemoved
public void onAppointmentRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event) Handle appointment removal by deleting associated resources.- Parameters:
event- The appointment removal event
-
onAppointmentDateChanged
public void onAppointmentDateChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event) Handle appointment date change by deleting associated resources.- Parameters:
event- The appointment date changed event
-