org.kuali.kfs.module.ld.dataaccess.impl
Class LaborBalancingDaoJdbc

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
              extended by org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
                  extended by org.kuali.kfs.gl.dataaccess.impl.BalancingDaoJdbc
                      extended by 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.


Field Summary
protected static String BALANCE_LABOR_KEY_FIELDS
           
 
Fields inherited from class org.kuali.kfs.gl.dataaccess.impl.BalancingDaoJdbc
ACCOUNT_BALANCE_AMOUNT_FIELDS, ACCOUNT_BALANCE_KEY_FIELDS, BALANCE_AMOUNT_FIELDS, BALANCE_KEY_FIELDS, BALANCE_MONTH_AMOUNT_FIELDS, ENCUMBRANCE_AMOUNT_FIELDS, ENCUMBRANCE_KEY_FIELDS, ENTRY_KEY_FIELDS, ROW_COUNT, VER_NBR
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LaborBalancingDaoJdbc()
           
 
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.kfs.gl.dataaccess.impl.BalancingDaoJdbc
populateAccountBalancesHistory, populateEncumbranceHistory
 
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
 

Field Detail

BALANCE_LABOR_KEY_FIELDS

protected static final String BALANCE_LABOR_KEY_FIELDS
See Also:
Constant Field Values
Constructor Detail

LaborBalancingDaoJdbc

public LaborBalancingDaoJdbc()
Method Detail

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.