public abstract class AbstractUnitAssignmentTaskComponent extends AbstractUnittreeTaskComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractUnitAssignmentTaskComponent.ProcessedUnitSelection
This class represents a unit selection with a processed form.
|
| Constructor and Description |
|---|
AbstractUnitAssignmentTaskComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
doPerformAction(String strAction,
javax.servlet.http.HttpServletRequest request,
TaskUnitAssignmentConfig config,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Performs the specified action
|
String |
doSaveConfig(javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task) |
protected TaskUnitAssignmentConfig |
findConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Finds the configuration associated to the specified task.
|
String |
getDisplayConfigForm(javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task) |
protected String |
getTaskInformationTemplate()
Gives the template used to display task information
|
protected abstract String |
getUnitSelectionForm(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Gives the unit selection form to insert in the task form
|
getDisplayTaskInformation, getTaskInformationXml, validateConfigdoValidateTask, getDisplayTaskFormprotected String getTaskInformationTemplate()
getTaskInformationTemplate in class AbstractUnittreeTaskComponentpublic String getDisplayConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
getDisplayConfigForm in interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponentgetDisplayConfigForm in class fr.paris.lutece.plugins.workflowcore.web.task.SimpleTaskComponentpublic String doSaveConfig(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
doSaveConfig in interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponentdoSaveConfig in class fr.paris.lutece.plugins.workflowcore.web.task.SimpleTaskComponentprotected TaskUnitAssignmentConfig findConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Finds the configuration associated to the specified task.
If no configuration exists for the task, creates an empty one.
task - the taskpublic void doPerformAction(String strAction, javax.servlet.http.HttpServletRequest request, TaskUnitAssignmentConfig config, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
strAction - the actionrequest - the request containing the information to perform the actionconfig - the task configurationtask - the taskprotected abstract String getUnitSelectionForm(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
request - the request containing the information to build the formtask - the task associated to the formCopyright © 2018 City of Paris. All rights reserved.