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.Iterator;
19: import java.util.List;
20:
21: import org.kuali.module.pdp.bo.DailyReport;
22: import org.kuali.module.pdp.bo.DisbursementNumberRange;
23: import org.kuali.module.pdp.bo.PaymentDetail;
24:
25: public interface PaymentDetailDao {
26: public PaymentDetail get(Integer id);
27:
28: public void save(PaymentDetail pd);
29:
30: public PaymentDetail getDetailForEpic(String custPaymentDocNbr,
31: String fdocTypeCode);
32:
33: public List getDisbursementNumberRanges(String campus);
34:
35: public void saveDisbursementNumberRange(
36: DisbursementNumberRange range);
37:
38: /**
39: * This gets all the payment details by disbursement number
40: *
41: * @param disbursementNumber
42: * @return
43: */
44: public Iterator getByDisbursementNumber(Integer disbursementNumber);
45:
46: /**
47: * This returns the data required for the daily report
48: *
49: * @return
50: */
51: public List<DailyReport> getDailyReportData();
52:
53: /**
54: * This will return an iterator of all the cancelled payment details that haven't already been processed
55: *
56: * @param organization
57: * @param subUnit
58: * @return
59: */
60: public Iterator getUnprocessedCancelledDetails(String organization,
61: List<String> subUnits);
62:
63: /**
64: * This will return all the ACH payments that need an email sent
65: *
66: * @return
67: */
68: public Iterator getAchPaymentsWithUnsentEmail();
69:
70: /**
71: * This will return an iterator of all the paid payment details that haven't already been processed
72: *
73: * @param organization
74: * @param subUnit
75: * @return
76: */
77: public Iterator getUnprocessedPaidDetails(String organization,
78: List<String> subUnits);
79: }
|