Interface ITaskFormHandler
-
public interface ITaskFormHandlerThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDisplayedForm(int nIdResource, java.lang.String strResourceType, java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Gives the HTML representing the form to display in the task formjava.lang.StringgetTitle(java.util.Locale locale)Gives the title of the unit selection displayed in the task form.
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle(java.util.Locale locale)
Gives the title of the unit selection displayed in the task form.- Parameters:
locale- the locale- Returns:
- the title
-
getDisplayedForm
java.lang.String getDisplayedForm(int nIdResource, java.lang.String strResourceType, java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) throws AssignmentNotPossibleExceptionGives 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
-
-