Interface IAppointmentListener
-
public interface IAppointmentListenerInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringappointmentDateChanged(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 Detail
-
notifyAppointmentRemoval
void notifyAppointmentRemoval(int nIdAppointment)
Notify the listener that an appointment has been removed- Parameters:
nIdAppointment- The id of the appointment
-
appointmentDateChanged
String appointmentDateChanged(int nIdAppointment, List<Integer> listIdSlot, Locale locale)
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
-
-