Class AppointmentNotificationMarkers
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointment.provider.AppointmentNotificationMarkers
Class containing InfoMarker related methods
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentNotificationMarkers(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, NotifyAppointmentDTO notifyAppointmentDTO) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAppointmentRecap(Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> collectionNotifyMarkers, String appointmentRecap) Add an appointment's responses summary (recap) to a Collection of markersstatic Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>getMarkerDescriptions(boolean isAdminNotification) Get a Collection of all available markers and their descriptionCollection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker>Get a Collection of the markers and their specific values.
-
Constructor Details
-
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 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 addedappointmentRecap- The content of the summary
-