Class TaskNotifyAdminAppointment
- 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<TaskNotifyAdminAppointmentConfig>
-
- fr.paris.lutece.plugins.workflow.modules.appointment.service.TaskNotifyAdminAppointment
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.workflowcore.service.task.ITask
public class TaskNotifyAdminAppointment extends AbstractTaskNotifyAppointment<TaskNotifyAdminAppointmentConfig>
Workflow task to notify an admin user associated to an appointment.
The admin user is the admin user specified in the configuration of the task, or the admin user associated with the appointment if no admin user is associated to the configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_SERVICE_BEAN_NAMEName of the bean of the config service of this task
-
Constructor Summary
Constructors Constructor Description TaskNotifyAdminAppointment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoRemoveConfig()Map<String,Object>fillModel(javax.servlet.http.HttpServletRequest request, TaskNotifyAdminAppointmentConfig 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.StringgetTitle(Locale locale)voidprocessTask(int nIdResourceHistory, javax.servlet.http.HttpServletRequest request, 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 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, 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
-
fillModel
public Map<String,Object> fillModel(javax.servlet.http.HttpServletRequest request, TaskNotifyAdminAppointmentConfig 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.- Overrides:
fillModelin classAbstractTaskNotifyAppointment<TaskNotifyAdminAppointmentConfig>- Parameters:
request- The requestnotifyAppointmentDTO- The configuration of the task.appointment- The appointment to get data fromlocale- The locale- Returns:
- The model with data
-
-