Interface IChangeStateTaskService
-
- All Known Implementing Classes:
ChangeStateTaskService
public interface IChangeStateTaskService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoChangeState(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, String strResourceType, int nIdWorkflow, int newState)Change Statefr.paris.lutece.util.ReferenceListgetListStates(int nIdAction)Get the list of statesfr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflowgetResourceByHistory(int nIdHistory, int nIdWorkflow)Load a resource by it History.ChangeStateTaskConfigloadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Load config of task.
-
-
-
Method Detail
-
getListStates
fr.paris.lutece.util.ReferenceList getListStates(int nIdAction)
Get the list of states- Parameters:
nIdAction- the id action- Returns:
- a ReferenceList
-
loadConfig
ChangeStateTaskConfig loadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Load config of task.- Parameters:
task-- Returns:
-
getResourceByHistory
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow getResourceByHistory(int nIdHistory, int nIdWorkflow)Load a resource by it History.- Parameters:
nIdHistory-nIdWorkflow-- Returns:
-
doChangeState
void doChangeState(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, String strResourceType, int nIdWorkflow, int newState)Change State- Parameters:
task-nIdResource-strResourceType-nIdWorkflow-newState-
-
-