Interface IConfigurationHandler
-
public interface IConfigurationHandlerThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDisplayedForm(java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Gives the HTML representing the configuration form to display in the workflow taskjava.lang.StringgetTitle(java.util.Locale locale)Gives the title of the unit selection displayed in the configuration form.voidremoveConfiguration(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Removes the configurationjava.lang.StringsaveConfiguration(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Saves the configuration
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle(java.util.Locale locale)
Gives the title of the unit selection displayed in the configuration form.- Parameters:
locale- the locale- Returns:
- the title
-
getDisplayedForm
java.lang.String getDisplayedForm(java.util.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
java.lang.String saveConfiguration(javax.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
-
-