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.gl.dao;
17:
18: import java.util.List;
19: import java.util.Map;
20:
21: /**
22: * An interface to methods needed to calculate Balance By Consolidation Balance inquiries to query the database
23: */
24: public interface AccountBalanceConsolidationDao {
25:
26: /**
27: * Returns account balance information that qualifies, based on the inquiry formed out of the parameters
28: *
29: * @param objectTypes the object types of account balances to include in the inquiry
30: * @param universityFiscalYear the fiscal year of account balances to include in the inquiry
31: * @param chartOfAccountsCode the chart of accounts of account balances to include in the inquiry
32: * @param accountNumber the account number of account balances to include in the inquiry
33: * @param isExcludeCostShare whether to exclude cost share entries from this inquiry or not
34: * @param isConsolidated whether the results of the inquiry should be consolidated
35: * @param pendingEntriesCode whether the inquiry should also report results based on no pending entries, approved pending entries, or all pending entries
36: * @return a List of Maps with the report information from this inquiry
37: */
38: public List<Map<String, Object>> findAccountBalanceByConsolidationObjectTypes(
39: String[] objectTypes, Integer universityFiscalYear,
40: String chartOfAccountsCode, String accountNumber,
41: boolean isExcludeCostShare, boolean isConsolidated,
42: int pendingEntriesCode);
43: }
|