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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayedForm​(java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Gives the HTML representing the configuration form to display in the workflow task
      java.lang.String getTitle​(java.util.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
      java.lang.String saveConfiguration​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Saves the configuration
    • Method Detail

      • getTitle

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

        java.lang.String getDisplayedForm​(java.util.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

        java.lang.String saveConfiguration​(javax.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