Class AbstractNotifyAppointmentTaskComponent

java.lang.Object
fr.paris.lutece.plugins.workflowcore.web.task.TaskComponent
fr.paris.lutece.plugins.workflow.web.task.AbstractTaskComponent
fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent
fr.paris.lutece.plugins.workflow.modules.appointment.web.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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 class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponent

    doCreateDefaultConfig, getDisplayConfigForm, getDisplayTaskInformation
  • Constructor Details

    • AbstractNotifyAppointmentTaskComponent

      public AbstractNotifyAppointmentTaskComponent()
  • Method Details

    • 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.