1
2
3
4
5 package gboat2.approveflow.service;
6
7 import gboat2.serviceflow.model.NodeInfo;
8 import gboat2.serviceflow.model.ProcessInfo;
9
10 import java.net.URL;
11 import java.util.List;
12
13 import org.drools.definition.process.Node;
14
15
16
17
18
19
20
21
22
23
24
25 public interface IApproveFlowRegister {
26 public void registProcess(String processId, URL processDefine, URL picturePath);
27
28 public List<ProcessInfo> getProcessInfos();
29
30 public List<NodeInfo> getNodes(String processId);
31
32
33
34
35
36
37
38 public Node getNode(String taskName,String proecssId);
39
40
41
42
43
44
45
46 public Node getStartNode(String processId);
47
48
49
50
51
52
53 public Node getEndNode(String processId);
54
55
56
57
58
59
60
61 public String getPathForDisplay(String processId);
62 }