org.kuali.kfs.gl.dataaccess.impl
Class AccountBalanceLevelDaoJdbc
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
org.kuali.kfs.gl.dataaccess.impl.AccountBalanceDaoJdbcBase
org.kuali.kfs.gl.dataaccess.impl.AccountBalanceLevelDaoJdbc
- All Implemented Interfaces:
- AccountBalanceLevelDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class AccountBalanceLevelDaoJdbc
- extends AccountBalanceDaoJdbcBase
- implements AccountBalanceLevelDao
Calculate Balance By Level Balance Inquiry Screen
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
List |
findAccountBalanceByLevel(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialConsolidationObjectCode,
boolean isCostShareExcluded,
boolean isConsolidated,
int pendingEntriesCode)
Summarizes all of the qualifying account balance information for the balance by level inquiry |
protected boolean |
getMatchingPendingEntriesByLevel(SystemOptions options,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialConsolidationObjectCode,
boolean isCostShareExcluded,
int pendingEntriesCode,
String sessionId)
Fetches pending entries summarized by level matching the keys passed in as parameter, and then saves
those summaries in a temporary table |
protected void |
summarizePendingEntriesByLevel(SystemOptions options,
String sessionId)
Summarizes all pending entries by level, so they can be added to the general query if necessary |
Methods inherited from class org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc |
getDbPlatform, setDbPlatform |
Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
getSimpleJdbcTemplate, initTemplateConfig |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountBalanceLevelDaoJdbc
public AccountBalanceLevelDaoJdbc()
findAccountBalanceByLevel
public List findAccountBalanceByLevel(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialConsolidationObjectCode,
boolean isCostShareExcluded,
boolean isConsolidated,
int pendingEntriesCode)
- Summarizes all of the qualifying account balance information for the balance by level inquiry
- Specified by:
findAccountBalanceByLevel
in interface AccountBalanceLevelDao
- Parameters:
universityFiscalYear
- the university fiscal year of reported on account balanceschartOfAccountsCode
- the chart of accounts code of reported on account balancesaccountNumber
- the account number of reported on account balancesfinancialConsolidationObjectCode
- the consolidation code of reported on account balancesisCostShareExcluded
- whether cost share account balances should be excluded from the query or notisConsolidated
- whether the results of the query should be consolidatedpendingEntriesCode
- whether this query should account for no pending entries, approved pending entries, or all pending entries
- Returns:
- a List of Maps with appropriate report data
- See Also:
AccountBalanceLevelDao.findAccountBalanceByLevel(java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, boolean, boolean, int)
summarizePendingEntriesByLevel
protected void summarizePendingEntriesByLevel(SystemOptions options,
String sessionId)
- Summarizes all pending entries by level, so they can be added to the general query if necessary
- Parameters:
options
- a given set of system optionssessionId
- the unique web id of the currently inquiring user, which acts as a key for the temporary table
getMatchingPendingEntriesByLevel
protected boolean getMatchingPendingEntriesByLevel(SystemOptions options,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialConsolidationObjectCode,
boolean isCostShareExcluded,
int pendingEntriesCode,
String sessionId)
- Fetches pending entries summarized by level matching the keys passed in as parameter, and then saves
those summaries in a temporary table
- Parameters:
options
- a given set of system optionsuniversityFiscalYear
- the university fiscal year of pending entries to findchartOfAccountsCode
- the chart of accounts code of pending entries to findaccountNumber
- the account number of pending entries to findfinancialConsolidationObjectCode
- the consolidation code of pending entries to findisCostShareExcluded
- whether to exclude cost share entries or notpendingEntriesCode
- whether to include all, approved, or no pending entries in this inquirysessionId
- the unique web id of the currently inquiring user, used as a key for the temporary tables
- Returns:
- true if summarization process found pending entries to process, false otherwise
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.