Class AppointmentNotificationMarkers
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointment.provider.AppointmentNotificationMarkers
-
public class AppointmentNotificationMarkers extends java.lang.ObjectClass containing InfoMarker related methods
-
-
Constructor Summary
Constructors Constructor Description AppointmentNotificationMarkers(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, NotifyAppointmentDTO notifyAppointmentDTO)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddAppointmentRecap(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 markersstatic java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>getMarkerDescriptions(boolean isAdminNotification)Get a Collection of all available markers and their descriptionjava.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>getMarkerValues()Get a Collection of the markers and their specific values.
-
-
-
Constructor Detail
-
AppointmentNotificationMarkers
public AppointmentNotificationMarkers(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, NotifyAppointmentDTO notifyAppointmentDTO)Constructor- Parameters:
appointment- The appointment to get data fromnotifyAppointmentDTO- 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 addedappointmentRecap- The content of the summary
-
-