View Javadoc
1   /*
2    * Copyright 2009 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.coa.batch.dataaccess;
17  
18  import java.util.List;
19  
20  import org.kuali.ole.coa.businessobject.A21IndirectCostRecoveryAccount;
21  import org.kuali.ole.coa.businessobject.A21SubAccount;
22  import org.kuali.ole.coa.businessobject.Account;
23  import org.kuali.ole.coa.businessobject.AccountingPeriod;
24  import org.kuali.ole.coa.businessobject.BalanceType;
25  import org.kuali.ole.coa.businessobject.Chart;
26  import org.kuali.ole.coa.businessobject.IndirectCostRecoveryType;
27  import org.kuali.ole.coa.businessobject.ObjectCode;
28  import org.kuali.ole.coa.businessobject.ObjectLevel;
29  import org.kuali.ole.coa.businessobject.ObjectType;
30  import org.kuali.ole.coa.businessobject.OffsetDefinition;
31  import org.kuali.ole.coa.businessobject.Organization;
32  import org.kuali.ole.coa.businessobject.ProjectCode;
33  import org.kuali.ole.coa.businessobject.SubAccount;
34  import org.kuali.ole.coa.businessobject.SubFundGroup;
35  import org.kuali.ole.coa.businessobject.SubObjectCode;
36  import org.kuali.ole.sys.batch.dataaccess.PreparedStatementCachingDao;
37  
38  public interface LedgerReferenceValuePreparedStatementCachingDao extends PreparedStatementCachingDao {
39      public Chart getChart(String chartOfAccountsCode);
40  
41      public Account getAccount(String chartCode, String accountNumber);
42  
43      public ObjectCode getObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode);
44  
45      public BalanceType getBalanceType(String financialBalanceTypeCode);
46  
47      public ObjectType getObjectType(String financialObjectTypeCode);
48  
49      public SubAccount getSubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
50  
51      public A21SubAccount getA21SubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
52      
53      public List<A21IndirectCostRecoveryAccount> getA21IndirectCostRecoveryAccounts(String chartOfAccountsCode, String accountNumber, String subAccountNumber);
54  
55      public SubObjectCode getSubObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode, String financialSubObjectCode);
56  
57      public ProjectCode getProjectCode(String projectCode);
58  
59      public AccountingPeriod getAccountingPeriod(Integer fiscalYear, String fiscalPeriodCode);
60  
61      public IndirectCostRecoveryType getIndirectCostRecoveryType(String accountIcrTypeCode);
62  
63      public SubFundGroup getSubFundGroup(String subFundGroupCode);
64  
65      public OffsetDefinition getOffsetDefinition(Integer universityFiscalYear, String chartOfAccountsCode, String financialDocumentTypeCode, String financialBalanceTypeCode);
66  
67      public Organization getOrganization(String chartOfAccountsCode, String organizationCode);
68  
69      public ObjectLevel getObjectLevel(String chartOfAccountsCode, String financialObjectLevelCode);
70  }