|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BalanceDao
The DAO interface that declares methods needed to query the database about balances
| Method Summary | |
|---|---|
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)
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> |
findCashBalance(Map fieldValues,
boolean isConsolidated)
This method finds the cash balance entries according to input fields and values |
Iterator<Balance> |
findCumulativeBalancesToForwardForFiscalYear(Integer year)
Returns the C&G balances specifically to be forwarded to the next fiscal year, based on the "cumulative" rule |
Iterator<Balance> |
findGeneralBalancesToForwardForFiscalYear(Integer year)
Returns the balances specifically to be forwarded to the next fiscal year, based on the "general" rule |
Iterator<Balance> |
findNominalActivityBalancesForFiscalYear(Integer year)
This method returns all of the balances specifically for the nominal activity closing job |
Iterator<Balance> |
findOrganizationReversionBalancesForFiscalYear(Integer year,
boolean endOfYear)
Returns the balances that would specifically be picked up by the Organization Reversion year end process |
Balance |
getBalanceByPrimaryId(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
Given the primary keys of a balance, finds the balance in the database. |
Balance |
getBalanceByTransaction(Transaction t)
Given a transaction, finds the balance record it would affect |
Iterator |
getConsolidatedBalanceRecordCount(Map fieldValues)
This method gets the size collection of balance entry groups according to input fields and values if the entries are required to be consolidated |
Iterator |
getConsolidatedCashBalanceRecordCount(Map fieldValues)
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)
This method gets the size collection of cash balance entries or entry groups according to input fields and values |
Iterator<Object[]> |
getGlSummary(int universityFiscalYear,
List<String> balanceTypeCodes)
Get the GL Summary data |
void |
purgeYearByChart(String chart,
int year)
Purge the sufficient funds balance table by year/chart |
void |
save(Balance b)
Saves a balance to the database |
| Method Detail |
|---|
Iterator<Object[]> getGlSummary(int universityFiscalYear,
List<String> balanceTypeCodes)
universityFiscalYear - the fiscal year of balances to search forbalanceTypeCodes - a list of balance type codes of balances to search for
Balance getBalanceByTransaction(Transaction t)
t - a transaction
Balance getBalanceByPrimaryId(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber)
universityFiscalYear - the university fiscal year of the balance to findchartOfAccountsCode - the chart of accounts code of the balance to findaccountNumber - the account number of the balance to find
Iterator 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 of
void save(Balance b)
b - a balance to save
Iterator<Balance> findCashBalance(Map fieldValues,
boolean isConsolidated)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or not
Integer getDetailedCashBalanceRecordCount(Map fieldValues)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or not
Iterator getConsolidatedCashBalanceRecordCount(Map fieldValues)
fieldValues - the input fields and values
Iterator findBalance(Map fieldValues,
boolean isConsolidated)
fieldValues - the input fields and valuesisConsolidated - consolidation option is applied or not
Iterator getConsolidatedBalanceRecordCount(Map fieldValues)
fieldValues - the input fields and values
Iterator<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 return
Balance 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 return
void 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 return
int countBalancesForFiscalYear(Integer year)
year - fiscal year to check
Iterator<Balance> findNominalActivityBalancesForFiscalYear(Integer year)
year - year to find balances for
Iterator<Balance> findGeneralBalancesToForwardForFiscalYear(Integer year)
year - the fiscal year to find balances for
Iterator<Balance> findCumulativeBalancesToForwardForFiscalYear(Integer year)
year - the fiscal year to find balances for
Iterator<Balance> findOrganizationReversionBalancesForFiscalYear(Integer year,
boolean endOfYear)
year - the year to find balances for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||