| org.kuali.module.gl.dao.BalanceDao
All known Subclasses: org.kuali.module.gl.dao.ojb.BalanceDaoOjb,
BalanceDao | public interface BalanceDao (Code) | | The DAO interface that declares methods needed to query the database about balances
|
Method Summary | |
public int | countBalancesForFiscalYear(Integer year) | public Iterator<Balance> | findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sfCode) Returns the balance entries for the given year, chart, and account. | public Iterator<Balance> | findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber) Returns the balance entries for the given year, chart, and account. | public Iterator | findBalance(Map fieldValues, boolean isConsolidated) | public Iterator | 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) Given the primary keys of a balance, finds the balance in the database. | public Balance | getBalanceByTransaction(Transaction t) | public Iterator | getConsolidatedBalanceRecordCount(Map fieldValues) | public Iterator | getConsolidatedCashBalanceRecordCount(Map fieldValues) | public 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. | public Integer | getDetailedCashBalanceRecordCount(Map fieldValues) | public Iterator | getGlSummary(int universityFiscalYear, List<String> balanceTypeCodes) | public void | purgeYearByChart(String chart, int year) | public void | save(Balance b) |
countBalancesForFiscalYear | public int countBalancesForFiscalYear(Integer year)(Code) | | This method returns the total count of balances for a fiscal year
Parameters: year - fiscal year to check the count of balances |
findAccountBalances | public Iterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sfCode)(Code) | | Returns the balance entries for the given year, chart, and account.
Parameters: universityFiscalYear - the unversity 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 - Sufficient Funds Code (used to determine sorting) balance entries matching above |
findAccountBalances | public Iterator<Balance> findAccountBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)(Code) | | Returns the balance entries for the given year, chart, and account.
Parameters: universityFiscalYear - the 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 balance entries matching above sorted by object code |
findBalance | public Iterator findBalance(Map fieldValues, boolean isConsolidated)(Code) | | This method finds the records of balance entries according to input fields and values
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the records of balance entries |
findBalances | public Iterator findBalances(Account account, Integer fiscalYear, Collection includedObjectCodes, Collection excludedObjectCodes, Collection objectTypeCodes, Collection balanceTypeCodes)(Code) | | Based on specific query types, return an Iterator of balance records
Parameters: account - the account of balances to find Parameters: fiscalYear - the fiscal year of balances to find Parameters: includedObjectCodes - a Collection of object codes found balances should have one of Parameters: excludedObjectCodes - a Collection of object codes found balances should not have one of Parameters: objectTypeCodes - a Collection of object type codes found balances should have one of Parameters: balanceTypeCodes - a Collection of balance type codes found balances should have one of an Iterator of Balances |
findBalancesForFiscalYear | public Iterator<Balance> findBalancesForFiscalYear(Integer year)(Code) | | Returns all of the balances of a given fiscal year
Parameters: year - the university fiscal year of balances to return an iterator over all balances for a given fiscal year |
findCashBalance | public Iterator<Balance> findCashBalance(Map fieldValues, boolean isConsolidated)(Code) | | This method finds the cash balance entries according to input fields and values
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the records of cash balance entries |
findCumulativeBalancesToForwardForFiscalYear | public Iterator<Balance> findCumulativeBalancesToForwardForFiscalYear(Integer year)(Code) | | Returns the C&G balances specifically to be forwarded to the next fiscal year, based on the "cumulative" rule
Parameters: year - the fiscal year to find balances for and Iterator chuck full of Balances |
findGeneralBalancesToForwardForFiscalYear | public Iterator<Balance> findGeneralBalancesToForwardForFiscalYear(Integer year)(Code) | | Returns the balances specifically to be forwarded to the next fiscal year, based on the "general" rule
Parameters: year - the fiscal year to find balances for an Iterator full of Balances |
findNominalActivityBalancesForFiscalYear | public Iterator<Balance> findNominalActivityBalancesForFiscalYear(Integer year)(Code) | | This method returns all of the balances specifically for the nominal activity closing job
Parameters: year - year to find balances for an Iterator of nominal activity balances |
findOrganizationReversionBalancesForFiscalYear | public Iterator<Balance> findOrganizationReversionBalancesForFiscalYear(Integer year, boolean endOfYear)(Code) | | Returns the balances that would specifically be picked up by the Organization Reversion year end process
Parameters: year - the year to find balances for an iterator of the balances to process |
getBalanceByPrimaryId | public Balance getBalanceByPrimaryId(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber)(Code) | | Given the primary keys of a balance, finds the balance in the database. Although not all of the
primary keys are sent into this method...
Programmers are seriously advised not to use this method; the default implementation does not work
Parameters: universityFiscalYear - the university fiscal year of the balance to find Parameters: chartOfAccountsCode - the chart of accounts code of the balance to find Parameters: accountNumber - the account number of the balance to find the balance that is specified by those...er...partially defined primary keys. |
getBalanceByTransaction | public Balance getBalanceByTransaction(Transaction t)(Code) | | Given a transaction, finds the balance record it would affect
Parameters: t - a transaction the balance record it would affect |
getConsolidatedBalanceRecordCount | public Iterator getConsolidatedBalanceRecordCount(Map fieldValues)(Code) | | This method gets the size collection of balance entry groups according to input fields and values if the entries are required
to be consolidated
Parameters: fieldValues - the input fields and values the size collection of balance entry groups |
getConsolidatedCashBalanceRecordCount | public Iterator getConsolidatedCashBalanceRecordCount(Map fieldValues)(Code) | | 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
Parameters: fieldValues - the input fields and values the size collection of cash balance entry groups |
getCurrentBudgetForObjectCode | public Balance getCurrentBudgetForObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String objectCode)(Code) | | Returns the CB (current budget) record for the given year, chart, account, and object code if one is found.
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 |
getDetailedCashBalanceRecordCount | public Integer getDetailedCashBalanceRecordCount(Map fieldValues)(Code) | | This method gets the size collection of cash balance entries or entry groups according to input fields and values
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the size collection of cash balance entry groups |
getGlSummary | public Iterator getGlSummary(int universityFiscalYear, List<String> balanceTypeCodes)(Code) | | Get the GL Summary 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 |
purgeYearByChart | public void purgeYearByChart(String chart, 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 |
save | public void save(Balance b)(Code) | | Saves a balance to the database
Parameters: b - a balance to save |
|
|