001/*
002 * Copyright 2009 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.coa.batch.dataaccess;
017
018import java.util.List;
019
020import org.kuali.ole.coa.businessobject.A21IndirectCostRecoveryAccount;
021import org.kuali.ole.coa.businessobject.A21SubAccount;
022import org.kuali.ole.coa.businessobject.Account;
023import org.kuali.ole.coa.businessobject.AccountingPeriod;
024import org.kuali.ole.coa.businessobject.BalanceType;
025import org.kuali.ole.coa.businessobject.Chart;
026import org.kuali.ole.coa.businessobject.IndirectCostRecoveryType;
027import org.kuali.ole.coa.businessobject.ObjectCode;
028import org.kuali.ole.coa.businessobject.ObjectLevel;
029import org.kuali.ole.coa.businessobject.ObjectType;
030import org.kuali.ole.coa.businessobject.OffsetDefinition;
031import org.kuali.ole.coa.businessobject.Organization;
032import org.kuali.ole.coa.businessobject.ProjectCode;
033import org.kuali.ole.coa.businessobject.SubAccount;
034import org.kuali.ole.coa.businessobject.SubFundGroup;
035import org.kuali.ole.coa.businessobject.SubObjectCode;
036import org.kuali.ole.sys.batch.dataaccess.PreparedStatementCachingDao;
037
038public interface LedgerReferenceValuePreparedStatementCachingDao extends PreparedStatementCachingDao {
039    public Chart getChart(String chartOfAccountsCode);
040
041    public Account getAccount(String chartCode, String accountNumber);
042
043    public ObjectCode getObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode);
044
045    public BalanceType getBalanceType(String financialBalanceTypeCode);
046
047    public ObjectType getObjectType(String financialObjectTypeCode);
048
049    public SubAccount getSubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
050
051    public A21SubAccount getA21SubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
052    
053    public List<A21IndirectCostRecoveryAccount> getA21IndirectCostRecoveryAccounts(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
054
055    public SubObjectCode getSubObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode, String financialSubObjectCode);
056
057    public ProjectCode getProjectCode(String projectCode);
058
059    public AccountingPeriod getAccountingPeriod(Integer fiscalYear, String fiscalPeriodCode);
060
061    public IndirectCostRecoveryType getIndirectCostRecoveryType(String accountIcrTypeCode);
062
063    public SubFundGroup getSubFundGroup(String subFundGroupCode);
064
065    public OffsetDefinition getOffsetDefinition(Integer universityFiscalYear, String chartOfAccountsCode, String financialDocumentTypeCode, String financialBalanceTypeCode);
066
067    public Organization getOrganization(String chartOfAccountsCode, String organizationCode);
068
069    public ObjectLevel getObjectLevel(String chartOfAccountsCode, String financialObjectLevelCode);
070}