Interface IAppointmentListener
public interface IAppointmentListener
Interface for listeners that should be notified when appointments are removed or when the date changed. The listener must be a Spring bean.
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionappointmentDateChanged(int nIdAppointment, List<Integer> listIdSlot, Locale locale) Notify the listener that the date of an appointment has changed.voidnotifyAppointmentCreated(int nIdAppointment) Notify the listener that an appointment has been createsvoidnotifyAppointmentRemoval(int nIdAppointment) Notify the listener that an appointment has been removedvoidnotifyAppointmentUpdated(int nIdAppointment) Notify the listener that an appointment has been update
-
Method Details
-
notifyAppointmentRemoval
void notifyAppointmentRemoval(int nIdAppointment) Notify the listener that an appointment has been removed- Parameters:
nIdAppointment- The id of the appointment
-
appointmentDateChanged
Notify the listener that the date of an appointment has changed.- Parameters:
nIdAppointment- the id of the appointmentnIdSlot- The new slot of the appointmentlocale- The locale to display error messages with- Returns:
- The message to display to the user, if any.
-
notifyAppointmentCreated
void notifyAppointmentCreated(int nIdAppointment) Notify the listener that an appointment has been creates- Parameters:
nIdAppointment- The id of the appointment
-
notifyAppointmentUpdated
void notifyAppointmentUpdated(int nIdAppointment) Notify the listener that an appointment has been update- Parameters:
nIdAppointment- The id of the appointment
-