View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-8-23 下午05:33:15
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   * @author lysming
19   * @since jdk1.6
20   * @date 2012-8-23
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  }