Interface IChooseStateController
-
public interface IChooseStateController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleancontrol(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, String strResourceType)controls the result of the control.default voiddoRemoveConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Delete controller custom config.default voiddoSaveConfig(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Process the action during the configuration of the task.default StringgetDisplayConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config)Returns the informations which must be displayed in the configurationStringgetHelpKey()The help key of the service.StringgetLabelKey()The label key of the service.StringgetName()The name of the service.default booleanhasConfig()Indicates if this controller need a config.
-
-
-
Method Detail
-
getLabelKey
String getLabelKey()
The label key of the service.- Returns:
-
getHelpKey
String getHelpKey()
The help key of the service.- Returns:
-
getName
String getName()
The name of the service.- Returns:
-
control
boolean control(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, String strResourceType)controls the result of the control.- Returns:
-
hasConfig
default boolean hasConfig()
Indicates if this controller need a config.- Returns:
-
getDisplayConfigForm
default String getDisplayConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config)
Returns the informations which must be displayed in the configuration- Parameters:
request- requestlocale- localeconfig- the taskconfig- Returns:
- the information which must be displayed in the task configuration
-
doSaveConfig
default void doSaveConfig(javax.servlet.http.HttpServletRequest request, 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-
-
-