fr.paris.lutece.plugins.appointment.service.listeners
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.


Method Summary
 String appointmentDateChanged(int nIdAppointment, int nIdSlot, Locale locale)
          Notify the listener that the date of an appointment has changed.
 void notifyAppointmentRemoval(int nIdAppointment)
          Notify the listener that an appointment has been removed
 

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,
                              int nIdSlot,
                              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.


Copyright © 2014 Mairie de Paris. All Rights Reserved.