1 package gboat2.approveflow.service;
2
3 import java.util.Map;
4
5 public interface IApproveFlowService {
6
7
8
9
10
11
12
13 public boolean needApprove(String serviceProcessId, String stepName);
14
15
16
17
18
19
20
21
22 public boolean isInApproveFlow(String serviceProcessId, String stepName, String assigner);
23
24
25
26
27
28
29
30
31
32
33 public boolean isLast(String serviceProcessId, String stepName, String assigner);
34
35
36
37
38
39
40
41
42 public String[] getFirst(String serviceProcessId, String stepName, Map<String, Object> params);
43
44
45
46
47
48
49
50
51 public String[] getNext(String serviceProcessId, String stepName, String assigner, Map<String,Object> params);
52
53
54
55
56
57
58
59
60
61 public boolean checkNextIsEnd(String serviceProcessId, String nodeName, String assigner, Map<String, Object> params);
62 }