Class AppointmentNotificationMarkers

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointment.provider.AppointmentNotificationMarkers

public class AppointmentNotificationMarkers extends Object
Class containing InfoMarker related methods
  • Constructor Summary

    Constructors
    Constructor
    Description
    AppointmentNotificationMarkers(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, NotifyAppointmentDTO notifyAppointmentDTO)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addAppointmentRecap(Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> collectionNotifyMarkers, String appointmentRecap)
    Add an appointment's responses summary (recap) to a Collection of markers
    static Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>
    getMarkerDescriptions(boolean isAdminNotification)
    Get a Collection of all available markers and their description
    Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>
    Get a Collection of the markers and their specific values.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AppointmentNotificationMarkers

      public AppointmentNotificationMarkers(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, NotifyAppointmentDTO notifyAppointmentDTO)
      Constructor
      Parameters:
      appointment - The appointment to get data from
      notifyAppointmentDTO - The configuration of the task
  • Method Details

    • getMarkerDescriptions

      public static Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getMarkerDescriptions(boolean isAdminNotification)
      Get a Collection of all available markers and their description
      Parameters:
      isAdminNotification - Whether the markers provided are used for an admin notification or not
      Returns:
      a Collection of InfoMarker Objects
    • getMarkerValues

      public Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getMarkerValues()
      Get a Collection of the markers and their specific values. This method is used to replace the markers by the actual values of the resource, before the notification is sent
      Returns:
      a Collection of InfoMarker, made of their names and proper values
    • addAppointmentRecap

      public static void addAppointmentRecap(Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> collectionNotifyMarkers, String appointmentRecap)
      Add an appointment's responses summary (recap) to a Collection of markers
      Parameters:
      collectionNotifyMarkers - The Collection of markers where the summary data will be added
      appointmentRecap - The content of the summary