Class 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 java.lang.String CONFIG_SERVICE_BEAN_NAME
      Name of the bean of the config service of this task
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doRemoveConfig()
      java.util.Map<java.lang.String,​java.lang.Object> fillModel​(javax.servlet.http.HttpServletRequest request, TaskNotifyAdminAppointmentConfig 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
      java.lang.String getTitle​(java.util.Locale locale)
      void processTask​(int nIdResourceHistory, javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
      • 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface fr.paris.lutece.plugins.workflowcore.service.task.ITask

        doAnonymizeTaskInformation, processTask, processTaskWithResult, processTaskWithResult
    • 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
    • Constructor Detail

      • TaskNotifyAdminAppointment

        public TaskNotifyAdminAppointment()
    • Method Detail

      • processTask

        public void processTask​(int nIdResourceHistory,
                                javax.servlet.http.HttpServletRequest request,
                                java.util.Locale locale)
      • doRemoveConfig

        public void doRemoveConfig()
        Specified by:
        doRemoveConfig in interface fr.paris.lutece.plugins.workflowcore.service.task.ITask
        Overrides:
        doRemoveConfig in class fr.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,
                                                                                TaskNotifyAdminAppointmentConfig 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:
        fillModel in class AbstractTaskNotifyAppointment<TaskNotifyAdminAppointmentConfig>
        Parameters:
        request - The request
        notifyAppointmentDTO - The configuration of the task
        appointment - The appointment to process
        locale - The locale
        Returns:
        The model filled with data