Class AbstractNotifyAppointmentTaskComponent

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponent, org.springframework.beans.factory.InitializingBean
    Direct Known Subclasses:
    NotifyAdminAppointmentTaskComponent, NotifyAppointmentTaskComponent

    public abstract class AbstractNotifyAppointmentTaskComponent
    extends fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent
    Abstract task component to notify a user of an appointment
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doSaveConfig​(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskConfigService, boolean bNotifyAdmin)
      Do save the configuration of the task
      String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskConfigService, boolean bNotifyAdmin)
      Get the config form to display
      • Methods inherited from class fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent

        doValidateTask, getDisplayTaskForm
      • Methods inherited from class fr.paris.lutece.plugins.workflow.web.task.AbstractTaskComponent

        validateConfig
      • Methods inherited from class fr.paris.lutece.plugins.workflowcore.web.task.TaskComponent

        afterPropertiesSet, doSaveConfig, isInvoked, setTaskConfigService, setTaskType
      • Methods inherited from interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponent

        getDisplayConfigForm, getDisplayTaskInformation
    • Constructor Detail

      • AbstractNotifyAppointmentTaskComponent

        public AbstractNotifyAppointmentTaskComponent()
    • Method Detail

      • getDisplayConfigForm

        public String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request,
                                           Locale locale,
                                           fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                                           fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskConfigService,
                                           boolean bNotifyAdmin)
        Get the config form to display
        Parameters:
        request - The request
        locale - The locale
        task - The task
        taskConfigService - The task config service to use
        bNotifyAdmin - True to notify an admin user, false to notify the user of the appointment
        Returns:
        The HTML code to display
      • doSaveConfig

        public String doSaveConfig​(javax.servlet.http.HttpServletRequest request,
                                   Locale locale,
                                   fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                                   fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskConfigService,
                                   boolean bNotifyAdmin)
        Do save the configuration of the task
        Parameters:
        request - The request
        locale - The locale
        task - The task
        taskConfigService - The task config service to use
        bNotifyAdmin - True to notify the admin user, false to notify the user of the appointment
        Returns:
        The next URL to redirect to if an error occurs, or null if there was no error.