Interface ITaskFormHandler
public interface ITaskFormHandler
This class is a handler for unit selection form
The unit selection form is displayed in the task form of the workflow task to assign a resource to a unit.
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayedForm(int nIdResource, String strResourceType, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Gives the HTML representing the form to display in the task formGives the title of the unit selection displayed in the task form.
-
Method Details
-
getTitle
Gives the title of the unit selection displayed in the task form.- Parameters:
locale- the locale- Returns:
- the title
-
getDisplayedForm
String getDisplayedForm(int nIdResource, String strResourceType, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) throws AssignmentNotPossibleException Gives the HTML representing the form to display in the task form- Parameters:
nIdResource- the resource idstrResourceType- the resource typelocale- the localetask- the task associated to the configuration- Returns:
- the HTML in a String
- Throws:
AssignmentNotPossibleException- if the assignment is not possible
-