| org.kuali.core.dao.ojb.PlatformAwareDaoBaseOjb org.kuali.module.gl.dao.ojb.BalanceDaoOjb
All known Subclasses: org.kuali.module.gl.dao.ojb.BalanceTestDaoOjb,
Method Summary | |
public int | countBalancesForFiscalYear(Integer year) | public Iterator<Balance> | findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber) Find all matching account balances. | public Iterator<Balance> | findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sfCode) Find all matching account balances. | public Iterator<Balance> | findBalance(Map fieldValues, boolean isConsolidated) | public Iterator<Balance> | findBalances(Account account, Integer fiscalYear, Collection includedObjectCodes, Collection excludedObjectCodes, Collection objectTypeCodes, Collection balanceTypeCodes) | public Iterator<Balance> | findBalancesForFiscalYear(Integer year) | public Iterator<Balance> | findCashBalance(Map fieldValues, boolean isConsolidated) | public Iterator<Balance> | findCumulativeBalancesToForwardForFiscalYear(Integer year) | public Iterator<Balance> | findGeneralBalancesToForwardForFiscalYear(Integer year) | public Iterator<Balance> | findNominalActivityBalancesForFiscalYear(Integer year) | public Iterator<Balance> | findOrganizationReversionBalancesForFiscalYear(Integer year, boolean endOfYear) | public Balance | getBalanceByPrimaryId(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber) Whoa! This method is seemingly not called in the code base right now, and you know what? You shouldn't call it
First of all, we're not even sending in all the primary keys for Balance, and second of all, we're
returning a SufficientFundsBalance, which we cast to a Balance, which is *always* going to throw a
ClassCastException. | public Balance | getBalanceByTransaction(Transaction t) | public Iterator | getConsolidatedBalanceRecordCount(Map fieldValues) Given a Map of keys to use as a query, if we performed that query as a consolidated query... | public Iterator | getConsolidatedCashBalanceRecordCount(Map fieldValues) | public Balance | getCurrentBudgetForObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String objectCode) Since SubAccountNumber, SubObjectCode, and ObjectType are all part of the primary key of Balance, you're guaranteed to get one of those
records when you call this method. | public Integer | getDetailedCashBalanceRecordCount(Map fieldValues) | public Iterator | getGlSummary(int universityFiscalYear, List<String> balanceTypeCodes) | public void | purgeYearByChart(String chartOfAccountsCode, int year) | public void | save(Balance b) | public void | setBalanceTypService(BalanceTypService balanceTypService) | public void | setOptionsService(OptionsService optionsService) | public void | setParameterService(ParameterService parameterService) |
findAccountBalances | public Iterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)(Code) | | Find all matching account balances.
Parameters: universityFiscalYear - the university fiscal year of balances to return Parameters: chartOfAccountsCode - the chart of accounts code of balances to return Parameters: accountNumber - the account number of balances to return balances sorted by object code |
findAccountBalances | public Iterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sfCode)(Code) | | Find all matching account balances. The Sufficient funds code is used to determine the sort of the results.
Parameters: universityFiscalYear - the university fiscal year of balances to return Parameters: chartOfAccountsCode - the chart of accounts code of balances to return Parameters: accountNumber - the account number of balances to return Parameters: sfCode - the sufficient funds code, used to sort on an Iterator of balances |
getCurrentBudgetForObjectCode | public Balance getCurrentBudgetForObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String objectCode)(Code) | | Since SubAccountNumber, SubObjectCode, and ObjectType are all part of the primary key of Balance, you're guaranteed to get one of those
records when you call this method. Let's hope the right one.
Parameters: universityFiscalYear - the fiscal year of the CB balance to return Parameters: chartOfAccountsCode - the chart of the accounts code of the CB balanes to return Parameters: accountNumber - the account number of the CB balance to return Parameters: objectCode - the object code of the CB balance to return the CB Balance record See Also: org.kuali.module.gl.dao.BalanceDao.getCurrentBudgetForObjectCode(java.lang.Integerjava.lang.Stringjava.lang.Stringjava.lang.String) |
getDetailedCashBalanceRecordCount | public Integer getDetailedCashBalanceRecordCount(Map fieldValues)(Code) | | Get the number of detailed cash balance records that would be returned, were we to do a query based on the given fieldValues
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the size collection of cash balance entry groups See Also: org.kuali.module.gl.dao.BalanceDao.getCashBalanceRecordCount(java.util.Mapboolean) |
getGlSummary | public Iterator getGlSummary(int universityFiscalYear, List<String> balanceTypeCodes)(Code) | | Does a ReportQuery to summarize GL balance data
Parameters: universityFiscalYear - the fiscal year of balances to search for Parameters: balanceTypeCodes - a list of balance type codes of balances to search for iterator of reported on java.lang.Object arrays with the report data See Also: org.kuali.module.gl.dao.BalanceDao.getGlSummary(intjava.util.List) |
purgeYearByChart | public void purgeYearByChart(String chartOfAccountsCode, int year)(Code) | | Purge the sufficient funds balance table by year/chart
Parameters: chart - the chart of balances to purge Parameters: year - the university fiscal year of balances to purge |
|
|