Class AbstractTaskAntsAppointmentComponent

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

    public abstract class AbstractTaskAntsAppointmentComponent
    extends fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent
    Task Component used to display a task's configuration page and allow its modification
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doSaveConfig​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService configService)
      Save the configuration of this task
      String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request, String taskTitle, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService configService)
      Build and display the configuration page for the current task
      String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      String getDisplayTaskInformation​(int nIdHistory, javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      • 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
    • Constructor Detail

      • AbstractTaskAntsAppointmentComponent

        public AbstractTaskAntsAppointmentComponent()
    • Method Detail

      • getDisplayConfigForm

        public String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request,
                                           String taskTitle,
                                           Locale locale,
                                           fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                                           fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService configService)
        Build and display the configuration page for the current task
        Parameters:
        taskTitle - Title of the task
        locale - Language used
        task - The task to configure
        configService - Service used for the task configuration
        Returns:
        A String containing the HTML page of the task configuration
      • doSaveConfig

        public String doSaveConfig​(javax.servlet.http.HttpServletRequest request,
                                   fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                                   fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService configService)
        Save the configuration of this task
        Parameters:
        request - HTTP request
        task - The task getting its configuration set
        configService - The service in charge of handling the configuration
        Returns:
        The URL to reach after the task configuration is done
      • getDisplayTaskInformation

        public String getDisplayTaskInformation​(int nIdHistory,
                                                javax.servlet.http.HttpServletRequest request,
                                                Locale locale,
                                                fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      • getDisplayConfigForm

        public String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request,
                                           Locale locale,
                                           fr.paris.lutece.plugins.workflowcore.service.task.ITask task)