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 Type
    Method
    Description
    getDisplayedForm(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 form
    getTitle(Locale locale)
    Gives the title of the unit selection displayed in the task form.
  • Method Details

    • getTitle

      String getTitle(Locale locale)
      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 id
      strResourceType - the resource type
      locale - the locale
      task - the task associated to the configuration
      Returns:
      the HTML in a String
      Throws:
      AssignmentNotPossibleException - if the assignment is not possible