org.kuali.kfs.module.ld.dataaccess.impl
Class LaborBalancingDaoJdbc
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.BalancingDaoJdbc
org.kuali.kfs.module.ld.dataaccess.impl.LaborBalancingDaoJdbc
- All Implemented Interfaces:
- BalancingDao, LedgerBalancingDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class LaborBalancingDaoJdbc
- extends BalancingDaoJdbc
- implements LedgerBalancingDao
JDBC implementation of LedgerBalancingDao. This essentially is a copy of one table to another with
group by in some cases. Hence the idea is that JDBC is much faster in this case then creating
BO objects that are essentially not necessary.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
populateLedgerBalanceHistory(Integer universityFiscalYear)
Populates LedgerBalanceHistory with Balance (or LaborBalance) data based on the start fiscal year passed in |
int |
populateLedgerEntryHistory(Integer universityFiscalYear)
Populates LedgerEntryHistory with Entry (or LaborEntry) data based on the start fiscal year passed in |
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 |
BALANCE_LABOR_KEY_FIELDS
protected static final String BALANCE_LABOR_KEY_FIELDS
- See Also:
- Constant Field Values
LaborBalancingDaoJdbc
public LaborBalancingDaoJdbc()
populateLedgerEntryHistory
public int populateLedgerEntryHistory(Integer universityFiscalYear)
- Description copied from interface:
LedgerBalancingDao
- Populates LedgerEntryHistory with Entry (or LaborEntry) data based on the start fiscal year passed in
- Specified by:
populateLedgerEntryHistory
in interface LedgerBalancingDao
- Overrides:
populateLedgerEntryHistory
in class BalancingDaoJdbc
- Parameters:
universityFiscalYear
- fiscal year the populate should start from
- Returns:
- number of rows affected
- See Also:
LedgerBalancingDao.populateLedgerEntryHistory(java.lang.Integer)
populateLedgerBalanceHistory
public int populateLedgerBalanceHistory(Integer universityFiscalYear)
- Description copied from interface:
LedgerBalancingDao
- Populates LedgerBalanceHistory with Balance (or LaborBalance) data based on the start fiscal year passed in
- Specified by:
populateLedgerBalanceHistory
in interface LedgerBalancingDao
- Overrides:
populateLedgerBalanceHistory
in class BalancingDaoJdbc
- Parameters:
universityFiscalYear
- fiscal year the populate should start from
- Returns:
- number of rows affected
- See Also:
LedgerBalancingDao.populateLedgerBalanceHistory(java.lang.Integer)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.