Interface IConfigurationHandler
public interface IConfigurationHandler
This class is a handler for unit selection configuration
The unit selection configuration is displayed in the configuration of the workflow task to assign a resource to a unit.
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayedForm(Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Gives the HTML representing the configuration form to display in the workflow taskGives the title of the unit selection displayed in the configuration form.voidremoveConfiguration(fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Removes the configurationsaveConfiguration(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Saves the configuration
-
Method Details
-
getTitle
Gives the title of the unit selection displayed in the configuration form.- Parameters:
locale- the locale- Returns:
- the title
-
getDisplayedForm
String getDisplayedForm(Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Gives the HTML representing the configuration form to display in the workflow task- Parameters:
locale- the localetask- the task associated to the configuration- Returns:
- the HTML in a String
-
saveConfiguration
String saveConfiguration(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Saves the configuration- Parameters:
request- the request containing the configurationtask- the task associated to the configuration- Returns:
- the error or
nullif there is no error
-
removeConfiguration
void removeConfiguration(fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Removes the configuration- Parameters:
task- the task associated to the configuration
-