01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.module.pdp.dao;
17:
18: import java.util.Date;
19: import java.util.Iterator;
20: import java.util.List;
21:
22: import org.kuali.module.pdp.bo.PaymentGroup;
23: import org.kuali.module.pdp.bo.PaymentProcess;
24:
25: public interface PaymentGroupDao {
26: /**
27: * Get all the payment groups for a specific disbursement type & status code
28: *
29: * @param disbursementType
30: * @param paymentStatusCode
31: * @return
32: */
33: public Iterator getByDisbursementTypeStatusCode(
34: String disbursementType, String paymentStatusCode);
35:
36: /**
37: * Get all the disbursement numbers for a specific process of a certain type
38: *
39: * @param pid
40: * @param disbursementType
41: * @return
42: */
43: public List<Integer> getDisbursementNumbersByDisbursementType(
44: Integer pid, String disbursementType);
45:
46: public Iterator getByProcessId(Integer pid);
47:
48: public Iterator getByProcess(PaymentProcess p);
49:
50: public void save(PaymentGroup pg);
51:
52: public PaymentGroup get(Integer id);
53:
54: public List getByBatchId(Integer batchId);
55:
56: public List getByDisbursementNumber(Integer disbursementNbr);
57: }
|