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 -
Method Summary
Modifier and TypeMethodDescriptiondoSaveConfig(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 taskgetDisplayConfigForm(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 displayMethods inherited from class fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent
doValidateTask, getDisplayTaskFormMethods inherited from class fr.paris.lutece.plugins.workflow.web.task.AbstractTaskComponent
validateConfigMethods inherited from class fr.paris.lutece.plugins.workflowcore.web.task.TaskComponent
afterPropertiesSet, doSaveConfig, isInvoked, setTaskConfigService, setTaskTypeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponent
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 requestlocale- The localetask- The tasktaskConfigService- The task config service to usebNotifyAdmin- 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 requestlocale- The localetask- The tasktaskConfigService- The task config service to usebNotifyAdmin- 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.
-