Class ChooseStateTaskService
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.state.service.AbstractStateTaskService
fr.paris.lutece.plugins.workflow.modules.state.service.ChooseStateTaskService
- All Implemented Interfaces:
IChooseStateTaskService
@ApplicationScoped
@Named("workflow.chooseStateTaskService")
public class ChooseStateTaskService
extends AbstractStateTaskService
implements IChooseStateTaskService
Implements IChooseStateTaskService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchooseNewState(int nIdResource, String strResourceType, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, ChooseStateTaskConfig config, int nIdWorkflow, int oldState) Change the state of the given resource if the control is satisfied.getController(ChooseStateTaskConfig config) Get the Controller of the configloadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Load config of task.Methods inherited from class fr.paris.lutece.plugins.workflow.modules.state.service.AbstractStateTaskService
doChangeState, getListStates, getResourceByHistoryMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.workflow.modules.state.service.IChooseStateTaskService
getControllerList, getListStates, getResourceByHistory
-
Constructor Details
-
ChooseStateTaskService
public ChooseStateTaskService()
-
-
Method Details
-
loadConfig
public ChooseStateTaskConfig loadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Description copied from interface:IChooseStateTaskServiceLoad config of task.- Specified by:
loadConfigin interfaceIChooseStateTaskService- Returns:
-
getController
Description copied from interface:IChooseStateTaskServiceGet the Controller of the config- Specified by:
getControllerin interfaceIChooseStateTaskService- Returns:
-
chooseNewState
public void chooseNewState(int nIdResource, String strResourceType, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, ChooseStateTaskConfig config, int nIdWorkflow, int oldState) Description copied from interface:IChooseStateTaskServiceChange the state of the given resource if the control is satisfied.- Specified by:
chooseNewStatein interfaceIChooseStateTaskService
-