Interface IChangeStateTaskService
- All Known Implementing Classes:
ChangeStateTaskService
public interface IChangeStateTaskService
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoChangeState(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.loadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task) Load config of task.
-
Method Details
-
getListStates
fr.paris.lutece.util.ReferenceList getListStates(int nIdAction) Get the list of states- Parameters:
nIdAction- the id action- Returns:
- a ReferenceList
-
loadConfig
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-
-