View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-5-15 下午04:54:03
4    */
5   package gboat2.approve.business;
6   
7   import gboat2.approve.model.ApproveRecord;
8   import gboat2.approve.model.ApproveRecordItem;
9   import gboat2.approve.model.ApproveStatus;
10  import gboat2.base.core.service.IBaseService;
11  
12  import java.util.List;
13  
14  /**
15   * 
16   * @author lysming
17   * @since jdk1.6
18   * @date 2012-5-15
19   *  
20   */
21  
22  public interface IApproveRecordBusiness extends IBaseService {
23  
24  	public ApproveRecord getApproveRecord(String recordId);
25  
26  	public List<ApproveRecordItem> getApproveRecordItemListByRecordId(String recordId);
27  	
28  	/**
29  	 * 获取审批信息对象
30  	 * @param recordItemId
31  	 * @return
32  	 */
33  	public ApproveRecordItem getApproveRecordItem(String itemId);
34  	
35  	/**
36  	 * 获取审批信息对象
37  	 * @param recordId
38  	 * @param assigner
39  	 * @return
40  	 */
41  	public ApproveRecordItem getApproveRecordItem(String recordId,String assigner);
42  	
43  	/**
44  	 * 获取指定人员的审批对象
45  	 * @param recordId
46  	 * @param assigners
47  	 * @return
48  	 */
49  	public ApproveRecordItem getApproveRecordItem(String recordId,String[] assigners);
50  	
51  	/**
52  	 * 获取最新的审批记录
53  	 * @param recordId
54  	 * @return
55  	 */
56  	public ApproveStatus getApproveStatusOfRecord(String recordId);
57  
58  	/**
59  	 * 获取审核对象
60  	 * @param recordObjectId
61  	 * @param recordType
62  	 * @return
63  	 */
64  	public ApproveRecord getApproveRecord(String recordObjectId,String recordType);
65  	
66  	/**
67  	 * 根据备案对象获取审核对象
68  	 * @param recordItemId
69  	 * @return
70  	 */
71  	public ApproveRecord getApproveRecordByRecordObject(String recordObjectId);
72  }