Class AppointmentListenerManager

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

public final class AppointmentListenerManager extends Object
Manager for appointment listeners Listeners are started by another thread asynchronously. Currently we have a problem with the propagation of the BDDS transaction when launching a workflow task that triggers the listener
  • Method Details

    • 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
    • notifyListenersAppointmentCreated

      public static void notifyListenersAppointmentCreated(int nIdAppointment)
      Notify listeners that an appointment is about to be created
      Parameters:
      nIdAppointment - The id of the appointment that will be update
    • notifyListenersAppointmentUpdated

      public static void notifyListenersAppointmentUpdated(int nIdAppointment)
      Notify listeners that an appointment is about to be updated
      Parameters:
      nIdAppointment - The id of the appointment that will be update
    • notifyListenersAppointmentDateChanged

      public static List<String> notifyListenersAppointmentDateChanged(int nIdAppointment, List<Integer> listIdSlot, 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
    • notifyAppointmentWFActionTriggered

      public static void notifyAppointmentWFActionTriggered(int nIdAppointment, int nIdAction)
      Notify users that an Notify the listener that an appointment Workflow action has been Triggred
      Parameters:
      nIdAppointment - the id of the appointment
      nIdAction - The id of the wf action