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 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 appointment
        nIdSlot - The new slot of the appointment
        locale - 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