fr.paris.lutece.plugins.appointment.service.listeners
Class AppointmentListenerManager

java.lang.Object
  extended by fr.paris.lutece.plugins.appointment.service.listeners.AppointmentListenerManager

public final class AppointmentListenerManager
extends Object

Manager form appointment removal listeners


Method Summary
static List<String> notifyListenersAppointmentDateChanged(int nIdAppointment, int nIdSlot, Locale locale)
          Notify listeners that the date of an appointment has been modified
static void notifyListenersAppointmentFormRemoval(int nIdAppointmentForm)
          Notify users that an appointment form has been removed
static void notifyListenersAppointmentRemoval(int nIdAppointment)
          Notify listeners that an appointment is about to be removed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notifyListenersAppointmentRemoval

public static void notifyListenersAppointmentRemoval(int nIdAppointment)
Notify listeners that an appointment is about to be removed

Parameters:
nIdAppointment - The id of the appointment that will be removed

notifyListenersAppointmentDateChanged

public static List<String> notifyListenersAppointmentDateChanged(int nIdAppointment,
                                                                 int nIdSlot,
                                                                 Locale locale)
Notify listeners that the date of an appointment has been modified

Parameters:
nIdAppointment - The id of the appointment that will be removed
nIdSlot - The id of the slot
locale - The locale
Returns:
The list of messages to display

notifyListenersAppointmentFormRemoval

public static void notifyListenersAppointmentFormRemoval(int nIdAppointmentForm)
Notify users that an appointment form has been removed

Parameters:
nIdAppointmentForm - the id of the removed appointment form


Copyright © 2014 Mairie de Paris. All Rights Reserved.