001/* 002 * Copyright 2007 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.ole.module.purap.dataaccess; 017 018import org.kuali.ole.module.purap.businessobject.PurApItem; 019 020import java.util.List; 021 022/** 023 * PurApAccounting DAO Interface. 024 */ 025public interface PurApAccountingDao { 026 027 /** 028 * Retrieves the accounting lines for a purap item. 029 * 030 * @param item - purap item 031 * @return - list of accounting lines 032 */ 033 public List getAccountingLinesForItem(PurApItem item); 034 035 /** 036 * Deletes the summary accounts by payment request document id. 037 * 038 * @param paymentRequestIdentifier - payment request document id 039 */ 040 public void deleteSummaryAccountsbyPaymentRequestIdentifier(Integer paymentRequestIdentifier); 041 042 /** 043 * Deletes the summary accounts by credit memo document id. 044 * 045 * @param creditMemoIdentifier - credit memo document id 046 */ 047 public void deleteSummaryAccountsbyCreditMemoIdentifier(Integer creditMemoIdentifier); 048 049 /** 050 * Deletes the summary accounts by credit memo document id. 051 * 052 * @param invoiceIdentifier - invoice id 053 */ 054 public void deleteSummaryAccountsbyInvoiceIdentifier(Integer invoiceIdentifier); 055 056 057}