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.financial.dao;
17:
18: import java.util.Collection;
19:
20: import org.kuali.module.financial.bo.Payee;
21: import org.kuali.module.financial.document.DisbursementVoucherDocument;
22:
23: public interface DisbursementVoucherDao {
24: /**
25: * Saves the Disbursement Voucher Document
26: *
27: * @param document
28: */
29: public void save(DisbursementVoucherDocument document);
30:
31: /**
32: * Returns a document by its document number
33: *
34: * @param fdocNbr
35: * @return document
36: */
37: public DisbursementVoucherDocument getDocument(String fdocNbr);
38:
39: /**
40: * Returns a list of disbursement voucher documents with a specific doc header status
41: *
42: * @param statusCode
43: * @return list of doc headers
44: */
45: public Collection getDocumentsByHeaderStatus(String statusCode);
46:
47: /**
48: * Get a payee using a payee Id
49: *
50: * @param payeeId
51: * @return
52: */
53: public Payee getPayee(String payeeId);
54: }
|