T - The type of the DTO to use to send the emailpublic abstract class AbstractTaskNotifyAppointment<T extends NotifyAppointmentDTO>
extends fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
| Constructor and Description |
|---|
AbstractTaskNotifyAppointment() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
fillModel(javax.servlet.http.HttpServletRequest request,
T notifyAppointmentDTO,
fr.paris.lutece.plugins.appointment.business.Appointment appointment,
fr.paris.lutece.plugins.appointment.business.calendar.AppointmentSlot appointmentSlot,
Locale locale)
Get a model to generate email content for a given appointment and a given
task.
|
protected String |
getEmailForSmsFromAppointment(fr.paris.lutece.plugins.appointment.business.Appointment appointment)
Get the email address to use to send an SMS to the user of an appointment
|
EmailDTO |
sendEmail(fr.paris.lutece.plugins.appointment.business.Appointment appointment,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
T notifyAppointmentDTO,
String strEmail)
Send an email to a user
|
doRemoveConfig, doRemoveTaskInformation, getTaskFormEntries, initgetAction, getId, getOrder, getTaskType, setAction, setId, setOrder, setTaskTypepublic EmailDTO sendEmail(fr.paris.lutece.plugins.appointment.business.Appointment appointment, fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory, javax.servlet.http.HttpServletRequest request, Locale locale, T notifyAppointmentDTO, String strEmail)
appointment - The appointmentresourceHistory - The resource historyrequest - The requestlocale - The localenotifyAppointmentDTO - The DTO with data of the emailstrEmail - The address to send the email topublic Map<String,Object> fillModel(javax.servlet.http.HttpServletRequest request, T notifyAppointmentDTO, fr.paris.lutece.plugins.appointment.business.Appointment appointment, fr.paris.lutece.plugins.appointment.business.calendar.AppointmentSlot appointmentSlot, Locale locale)
request - The requestnotifyAppointmentDTO - The configuration of the task.appointment - The appointment to get data fromappointmentSlot - The slot associated with the appointmentlocale - The localeprotected String getEmailForSmsFromAppointment(fr.paris.lutece.plugins.appointment.business.Appointment appointment)
appointment - The appointmentCopyright © 2015 Mairie de Paris. All rights reserved.