1 /*
2 * Copyright 2007 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
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.ole.module.purap.dataaccess;
17
18 import org.kuali.ole.module.purap.businessobject.PurApItem;
19
20 import java.util.List;
21
22 /**
23 * PurApAccounting DAO Interface.
24 */
25 public interface PurApAccountingDao {
26
27 /**
28 * Retrieves the accounting lines for a purap item.
29 *
30 * @param item - purap item
31 * @return - list of accounting lines
32 */
33 public List getAccountingLinesForItem(PurApItem item);
34
35 /**
36 * Deletes the summary accounts by payment request document id.
37 *
38 * @param paymentRequestIdentifier - payment request document id
39 */
40 public void deleteSummaryAccountsbyPaymentRequestIdentifier(Integer paymentRequestIdentifier);
41
42 /**
43 * Deletes the summary accounts by credit memo document id.
44 *
45 * @param creditMemoIdentifier - credit memo document id
46 */
47 public void deleteSummaryAccountsbyCreditMemoIdentifier(Integer creditMemoIdentifier);
48
49 /**
50 * Deletes the summary accounts by credit memo document id.
51 *
52 * @param invoiceIdentifier - invoice id
53 */
54 public void deleteSummaryAccountsbyInvoiceIdentifier(Integer invoiceIdentifier);
55
56
57 }