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.NoFormTaskComponentAbstract task component to notify a user of an appointment
-
-
Constructor Summary
Constructors Constructor Description AbstractNotifyAppointmentTaskComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoSaveConfig(javax.servlet.http.HttpServletRequest request, java.util.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 taskjava.lang.StringgetDisplayConfigForm(javax.servlet.http.HttpServletRequest request, java.util.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
-
-
-
-
Method Detail
-
getDisplayConfigForm
public java.lang.String getDisplayConfigForm(javax.servlet.http.HttpServletRequest request, java.util.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 java.lang.String doSaveConfig(javax.servlet.http.HttpServletRequest request, java.util.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.
-
-