Class AppointmentNotificationMarkers


  • public class AppointmentNotificationMarkers
    extends java.lang.Object
    Class containing InfoMarker related methods
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void addAppointmentRecap​(java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> collectionNotifyMarkers, java.lang.String appointmentRecap)
      Add an appointment's responses summary (recap) to a Collection of markers
      static java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getMarkerDescriptions​(boolean isAdminNotification)
      Get a Collection of all available markers and their description
      java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getMarkerValues()
      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 Detail

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

      • getMarkerDescriptions

        public static java.util.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 java.util.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​(java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> collectionNotifyMarkers,
                                               java.lang.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