Class TaskNotifyAppointment
- java.lang.Object
-
- fr.paris.lutece.plugins.workflowcore.service.task.Task
-
- fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
-
- fr.paris.lutece.plugins.workflow.modules.appointment.service.AbstractTaskNotifyAppointment<TaskNotifyAppointmentConfig>
-
- fr.paris.lutece.plugins.workflow.modules.appointment.service.TaskNotifyAppointment
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.workflowcore.service.task.ITask
public class TaskNotifyAppointment extends AbstractTaskNotifyAppointment<TaskNotifyAppointmentConfig>
Workflow task to notify a user of an appointment
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_SERVICE_BEAN_NAMEName of the bean of the config service of this task
-
Constructor Summary
Constructors Constructor Description TaskNotifyAppointment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoRemoveConfig()java.util.Map<java.lang.String,java.lang.Object>fillModel(javax.servlet.http.HttpServletRequest request, TaskNotifyAppointmentConfig notifyAppointmentDTO, fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, java.util.Locale locale)Get a model to generate email content for a given appointment and a given taskjava.lang.StringgetTitle(java.util.Locale locale)voidprocessTask(int nIdResourceHistory, javax.servlet.http.HttpServletRequest request, java.util.Locale locale)-
Methods inherited from class fr.paris.lutece.plugins.workflow.modules.appointment.service.AbstractTaskNotifyAppointment
sendEmail
-
Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
doRemoveTaskInformation, getTaskFormEntries, init
-
Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.Task
getAction, getActionUid, getId, getOrder, getTaskType, getUid, setAction, setActionUid, setId, setOrder, setTaskType, setUid
-
-
-
-
Field Detail
-
CONFIG_SERVICE_BEAN_NAME
public static final java.lang.String CONFIG_SERVICE_BEAN_NAME
Name of the bean of the config service of this task- See Also:
- Constant Field Values
-
-
Method Detail
-
processTask
public void processTask(int nIdResourceHistory, javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
-
doRemoveConfig
public void doRemoveConfig()
- Specified by:
doRemoveConfigin interfacefr.paris.lutece.plugins.workflowcore.service.task.ITask- Overrides:
doRemoveConfigin classfr.paris.lutece.plugins.workflowcore.service.task.SimpleTask
-
getTitle
public java.lang.String getTitle(java.util.Locale locale)
-
fillModel
public java.util.Map<java.lang.String,java.lang.Object> fillModel(javax.servlet.http.HttpServletRequest request, TaskNotifyAppointmentConfig notifyAppointmentDTO, fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO appointment, java.util.Locale locale)Get a model to generate email content for a given appointment and a given task- Overrides:
fillModelin classAbstractTaskNotifyAppointment<TaskNotifyAppointmentConfig>- Parameters:
request- The requestnotifyAppointmentDTO- The configuration of the taskappointment- The appointment to processlocale- The locale- Returns:
- The model filled with data
-
-