1 package gboat2.serviceflow.service;
2
3 import gboat2.serviceflow.model.ProcessInfo;
4
5 import java.net.URL;
6 import java.util.List;
7 import java.util.Map;
8
9 public interface IServiceFlowService {
10
11
12
13
14
15 public void registProcess(IFlowFilter chooser, String processId, URL processDefine);
16
17 public void registProcess(int priority,IFlowFilter chooser, String processId, URL processDefine);
18
19 public void registProcess(IFlowFilter chooser, String processId, URL processDefine, URL picturePath);
20
21 public void registProcess(int priority, IFlowFilter chooser, String processId, URL processDefine, URL picturePath);
22
23 public List<ProcessInfo> getProcessInfos();
24
25 public ProcessInfo getProcessInfo(String processId);
26
27
28
29
30
31
32
33
34
35 public void completeTask(String businessObjectId, String nodeName, Map<String, Object> params);
36
37
38
39
40
41
42 public String getProcessIdForStepName(String stepName);
43
44
45
46
47
48
49
50 public boolean hasContainsStepName(String processId,String stepName);
51
52
53
54
55
56
57 public String getPathForDisplay(String processId);
58 }