Interface IChooseStateController


  • public interface IChooseStateController
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      boolean control​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, java.lang.String strResourceType)
      controls the result of the control.
      default void doRemoveConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Delete controller custom config.
      default void doSaveConfig​(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Process the action during the configuration of the task.
      default java.lang.String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config)
      Returns the informations which must be displayed in the configuration
      java.lang.String getHelpKey()
      The help key of the service.
      java.lang.String getLabelKey()
      The label key of the service.
      java.lang.String getName()
      The name of the service.
      default boolean hasConfig()
      Indicates if this controller need a config.
    • Method Detail

      • getLabelKey

        java.lang.String getLabelKey()
        The label key of the service.
        Returns:
      • getHelpKey

        java.lang.String getHelpKey()
        The help key of the service.
        Returns:
      • getName

        java.lang.String getName()
        The name of the service.
        Returns:
      • control

        boolean control​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                        int nIdResource,
                        java.lang.String strResourceType)
        controls the result of the control.
        Returns:
      • hasConfig

        default boolean hasConfig()
        Indicates if this controller need a config.
        Returns:
      • getDisplayConfigForm

        default java.lang.String getDisplayConfigForm​(javax.servlet.http.HttpServletRequest request,
                                                      java.util.Locale locale,
                                                      fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config)
        Returns the informations which must be displayed in the configuration
        Parameters:
        request - request
        locale - locale
        config - the taskconfig
        Returns:
        the information which must be displayed in the task configuration
      • doSaveConfig

        default void doSaveConfig​(javax.servlet.http.HttpServletRequest request,
                                  java.util.Locale locale,
                                  fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
        Process the action during the configuration of the task.
        Parameters:
        request -
        locale -
        config -
      • doRemoveConfig

        default void doRemoveConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
        Delete controller custom config.
        Parameters:
        task -