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.web.dto.AppointmentDTO appointment,
Locale locale)
Get a model to generate email content for a given appointment and a given task.
|
EmailDTO |
sendEmail(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO 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, init
getAction, getId, getOrder, getTaskType, setAction, setId, setOrder, setTaskType
public EmailDTO sendEmail(fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO 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.web.dto.AppointmentDTO appointment, Locale locale)
request
- The requestnotifyAppointmentDTO
- The configuration of the task.appointment
- The appointment to get data fromappointmentSlot
- The slot associated with the appointmentlocale
- The localeCopyright © 2021 City of Paris. All rights reserved.