Interface IChooseStateController
public interface IChooseStateController
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontrol(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 configurationThe help key of the service.The label key of the service.getName()The name of the service.default booleanIndicates if this controller need a config.
-
Method Details
-
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-
-