public interface BalanceDao
| Modifier and Type | Method and Description | 
|---|---|
int | 
countBalancesForFiscalYear(Integer year)
This method returns the total count of balances for a fiscal year 
 | 
Iterator<Balance> | 
findAccountBalances(Integer universityFiscalYear,
                                      String chartOfAccountsCode,
                                      String accountNumber)
Returns the balance entries for the given year, chart, and account. 
 | 
Iterator<Balance> | 
findAccountBalances(Integer universityFiscalYear,
                                      String chartOfAccountsCode,
                                      String accountNumber,
                                      String sfCode)
Returns the balance entries for the given year, chart, and account. 
 | 
Iterator | 
findBalance(Map fieldValues,
                      boolean isConsolidated,
                      Collection<String> encumbranceBalanceTypes)
This method finds the records of balance entries according to input fields and values 
 | 
Iterator | 
findBalances(Account account,
                        Integer fiscalYear,
                        Collection includedObjectCodes,
                        Collection excludedObjectCodes,
                        Collection objectTypeCodes,
                        Collection balanceTypeCodes)
Based on specific query types, return an Iterator of balance records 
 | 
Iterator<Balance> | 
findBalancesForFiscalYear(Integer year)
Returns all of the balances of a given fiscal year 
 | 
Iterator<Balance> | 
findCumulativeBalancesToForwardForFiscalYear(Integer year,
                                                                                        Collection<String> cumulativeForwardBalanceObjectTypes,
                                                                                        Collection<String> contractsAndGrantsDenotingValues,
                                                                                        Collection<String> subFundGroupsForCumulativeBalanceForwardingArray,
                                                                                        Collection<String> cumulativeBalanceForwardBalanceTypesArray,
                                                                                        boolean fundGroupDenotesCGInd)
Returns the C&G balances specifically to be forwarded to the next fiscal year, based on the "cumulative" rule 
 | 
Iterator<Balance> | 
findGeneralBalancesToForwardForFiscalYear(Integer year,
                                                                                  Collection<String> generalForwardBalanceObjectTypes,
                                                                                  Collection<String> generalBalanceForwardBalanceTypesArray)
Returns the balances specifically to be forwarded to the next fiscal year, based on the "general" rule 
 | 
Iterator<Balance> | 
findNominalActivityBalancesForFiscalYear(Integer year,
                                                                                Collection<String> nominalActivityObjectTypeCodes,
                                                                                SystemOptions currentYearOptions)
This method returns all of the balances specifically for the nominal activity closing job 
 | 
Iterator<Balance> | 
findOrganizationReversionBalancesForFiscalYear(Integer year,
                                                                                            boolean endOfYear,
                                                                                            SystemOptions options,
                                                                                            List<ParameterEvaluator> parameterEvaluators)
Returns the balances that would specifically be picked up by the Organization Reversion year end process 
 | 
Balance | 
getBalanceByTransaction(Transaction t)
Given a transaction, finds the balance record it would affect 
 | 
Iterator | 
getConsolidatedBalanceRecordCount(Map fieldValues,
                                                                  Collection<String> encumbranceBalanceTypes)
This method gets the size collection of balance entry groups according to input fields and values if the entries are required
 to be consolidated 
 | 
int | 
getConsolidatedCashBalanceRecordCount(Map fieldValues,
                                                                          Collection<String> encumbranceBalanceTypes)
This method gets the size collection of cash balance entry groups according to input fields and values if the entries are
 required to be consolidated 
 | 
Balance | 
getCurrentBudgetForObjectCode(Integer universityFiscalYear,
                                                          String chartOfAccountsCode,
                                                          String accountNumber,
                                                          String objectCode)
Returns the CB (current budget) record for the given year, chart, account, and object code if one is found. 
 | 
Integer | 
getDetailedCashBalanceRecordCount(Map fieldValues,
                                                                  Collection<String> encumbranceBalanceTypes)
This method gets the size collection of cash balance entries or entry groups according to input fields and values 
 | 
Iterator<Object[]> | 
getGlSummary(int universityFiscalYear,
                        Collection<String> balanceTypeCodes)
Get the GL Summary data 
 | 
Iterator<Balance> | 
lookupCashBalance(Map fieldValues,
                                  boolean isConsolidated,
                                  Collection<String> encumbranceBalanceTypes)
This method finds the cash balance entries according to input fields and values. 
 | 
void | 
purgeYearByChart(String chart,
                                int year)
Purge the sufficient funds balance table by year/chart 
 | 
Iterator<Object[]> getGlSummary(int universityFiscalYear, Collection<String> balanceTypeCodes)
universityFiscalYear - the fiscal year of balances to search forbalanceTypeCodes - a list of balance type codes of balances to search forBalance getBalanceByTransaction(Transaction t)
t - a transactionIterator findBalances(Account account, Integer fiscalYear, Collection includedObjectCodes, Collection excludedObjectCodes, Collection objectTypeCodes, Collection balanceTypeCodes)
account - the account of balances to findfiscalYear - the fiscal year of balances to findincludedObjectCodes - a Collection of object codes found balances should have one ofexcludedObjectCodes - a Collection of object codes found balances should not have one ofobjectTypeCodes - a Collection of object type codes found balances should have one ofbalanceTypeCodes - a Collection of balance type codes found balances should have one ofIterator<Balance> lookupCashBalance(Map fieldValues, boolean isConsolidated, Collection<String> encumbranceBalanceTypes)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or notencumbranceBalanceTypes - a list of encumbrance Balance TypesInteger getDetailedCashBalanceRecordCount(Map fieldValues, Collection<String> encumbranceBalanceTypes)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or notencumbranceBalanceTypes - a list of encumbrance balance typesint getConsolidatedCashBalanceRecordCount(Map fieldValues, Collection<String> encumbranceBalanceTypes)
fieldValues - the input fields and valuesencumbranceBalanceTypes - a list of encumbrance balance typesIterator findBalance(Map fieldValues, boolean isConsolidated, Collection<String> encumbranceBalanceTypes)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or notencumbranceBalanceTypes - a list of encumbrance balance typesIterator getConsolidatedBalanceRecordCount(Map fieldValues, Collection<String> encumbranceBalanceTypes)
fieldValues - the input fields and valuesencumbranceBalanceTypes - a list of encumbrance balance typesIterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sfCode)
universityFiscalYear - the unversity fiscal year of balances to returnchartOfAccountsCode - the chart of accounts code of balances to returnaccountNumber - the account number of balances to returnsfCode - Sufficient Funds Code (used to determine sorting)Iterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)
universityFiscalYear - the fiscal year of balances to returnchartOfAccountsCode - the chart of accounts code of balances to returnaccountNumber - the account number of balances to returnBalance getCurrentBudgetForObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String objectCode)
universityFiscalYear - the fiscal year of the CB balance to returnchartOfAccountsCode - the chart of the accounts code of the CB balanes to returnaccountNumber - the account number of the CB balance to returnobjectCode - the object code of the CB balance to returnvoid purgeYearByChart(String chart, int year)
chart - the chart of balances to purgeyear - the university fiscal year of balances to purgeIterator<Balance> findBalancesForFiscalYear(Integer year)
year - the university fiscal year of balances to returnint countBalancesForFiscalYear(Integer year)
year - fiscal year to checkIterator<Balance> findNominalActivityBalancesForFiscalYear(Integer year, Collection<String> nominalActivityObjectTypeCodes, SystemOptions currentYearOptions)
year - year to find balances fornominalActivityObjectTypeCodes - a List of nominal activity object type codescurrentYearOptions - current year optionsIterator<Balance> findGeneralBalancesToForwardForFiscalYear(Integer year, Collection<String> generalForwardBalanceObjectTypes, Collection<String> generalBalanceForwardBalanceTypesArray)
year - the fiscal year to find balances forgeneralForwardBalanceObjectTypes - a List of general Forward Balance Object TypesgeneralBalanceForwardBalanceTypesArray - an array of general Balance Forward Balance TypesIterator<Balance> findCumulativeBalancesToForwardForFiscalYear(Integer year, Collection<String> cumulativeForwardBalanceObjectTypes, Collection<String> contractsAndGrantsDenotingValues, Collection<String> subFundGroupsForCumulativeBalanceForwardingArray, Collection<String> cumulativeBalanceForwardBalanceTypesArray, boolean fundGroupDenotesCGInd)
year - the fiscal year to find balances forcumulativeForwardBalanceObjectTypes - a List of cumulative Forward Balance Object TypescontractsAndGrantsDenotingValues - a List of contracts And Grants Denoting ValuessubFundGroupsForCumulativeBalanceForwardingArray - an array of sub Fund Groups For Cumulative Balance ForwardingcumulativeBalanceForwardBalanceTypesArray - an array of cumulative Balance Forward Balance TypesIterator<Balance> findOrganizationReversionBalancesForFiscalYear(Integer year, boolean endOfYear, SystemOptions options, List<ParameterEvaluator> parameterEvaluators)
year - the year to find balances forendOfYear - options - parameterEvaluators - a list of parameter evaluatorsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.