1
2
3
4
5 package gboat2.approve.service;
6
7 import gboat2.approve.model.ApproveRecord;
8 import gboat2.approve.model.ApproveRecordHistory;
9 import gboat2.approve.model.ApproveRecordItem;
10 import gboat2.approve.model.ApproveStatus;
11 import gboat2.base.core.service.IBaseService;
12
13 import java.util.List;
14
15
16
17
18
19
20
21
22
23
24 public interface IApproveRecordService extends IBaseService{
25 public List<ApproveRecordHistory> getAllApproveRecordHistory(String recordObjectId);
26 public ApproveRecord getApproveRecord(String recordId);
27 public ApproveRecord getApproveRecord(String recordObjectId,String approveRecordType);
28 public ApproveRecord getApproveRecordByRecordObject(String recordObjectId);
29 public ApproveRecordItem getApproveRecordItem(String recordItemId);
30 public ApproveRecordItem getApproveRecordItem(String recordId, String nextLevel);
31 public ApproveRecordItem getApproveRecordItemByUser(String recordId,String[] assigners);
32 public List<ApproveRecordItem> getApproveRecordItemListByRecordId(String recordId);
33 public ApproveStatus getApproveStatusOfRecord(String recordId);
34 public boolean isApproveHistoryExist(String recordObjectId);
35 }