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
public class ChooseStateTaskService extends AbstractStateTaskService implements IChooseStateTaskService
Implements IChooseStateTaskService
-
-
Constructor Summary
Constructors Constructor Description ChooseStateTaskService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchooseNewState(int nIdResource, java.lang.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.IChooseStateControllergetController(ChooseStateTaskConfig config)Get the Controller of the configChooseStateTaskConfigloadConfig(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, getResourceByHistory
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.workflow.modules.state.service.IChooseStateTaskService
getControllerList, getListStates, getResourceByHistory
-
-
-
-
Method Detail
-
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
public IChooseStateController getController(ChooseStateTaskConfig config)
Description copied from interface:IChooseStateTaskServiceGet the Controller of the config- Specified by:
getControllerin interfaceIChooseStateTaskService- Returns:
-
chooseNewState
public void chooseNewState(int nIdResource, java.lang.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
-
-