Interface IConfigurationHandler


public interface IConfigurationHandler

This 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

    Modifier and Type
    Method
    Description
    getDisplayedForm(Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
    Gives the HTML representing the configuration form to display in the workflow task
    getTitle(Locale locale)
    Gives the title of the unit selection displayed in the configuration form.
    void
    removeConfiguration(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
    Removes the configuration
    saveConfiguration(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
    Saves the configuration
  • Method Details

    • getTitle

      String getTitle(Locale locale)
      Gives the title of the unit selection displayed in the configuration form.
      Parameters:
      locale - the locale
      Returns:
      the title
    • getDisplayedForm

      String getDisplayedForm(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 locale
      task - the task associated to the configuration
      Returns:
      the HTML in a String
    • saveConfiguration

      String saveConfiguration(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Saves the configuration
      Parameters:
      request - the request containing the configuration
      task - the task associated to the configuration
      Returns:
      the error or null if 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