1 package fr.paris.lutece.plugins.workflow.modules.state.service;
2
3 import java.util.List;
4
5 import fr.paris.lutece.plugins.workflow.modules.state.business.config.ChooseStateTaskConfig;
6 import fr.paris.lutece.plugins.workflow.modules.state.util.IResourceController;
7 import fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow;
8 import fr.paris.lutece.plugins.workflowcore.service.task.ITask;
9 import fr.paris.lutece.util.ReferenceList;
10
11
12
13
14 public interface IChooseStateTaskService
15 {
16
17
18
19
20
21
22
23
24 ReferenceList getListStates( int nIdAction );
25
26
27
28
29
30
31 List<IResourceController> getControllerList( );
32
33
34
35
36
37
38
39 ChooseStateTaskConfig loadConfig( ITask task );
40
41
42
43
44
45
46 IResourceController getController( ChooseStateTaskConfig config );
47
48
49
50
51
52
53
54
55
56
57 void doChangeState( ITask task, int nIdResource, String strResourceType, int nIdWorkflow, int newState );
58
59 ResourceWorkflow getResourceByHistory( int nIdHistory, int nIdWorkflow );
60 }