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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayedForm​(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 form
      java.lang.String getTitle​(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 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