org.kuali.kfs.module.endow.dataaccess.impl
Class UpdateCorpusDaoJdbc
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.module.endow.dataaccess.impl.UpdateCorpusDaoJdbc
- All Implemented Interfaces:
- UpdateCorpusDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class UpdateCorpusDaoJdbc
- extends org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
- implements UpdateCorpusDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
UpdateCorpusDaoJdbc
public UpdateCorpusDaoJdbc()
updateKemIdCorpusPriorYearValues
public void updateKemIdCorpusPriorYearValues()
- Description copied from interface:
UpdateCorpusDao
- Updates all prior year fields with the current year values
in the KEMID Corpus Val table.
- Specified by:
updateKemIdCorpusPriorYearValues
in interface UpdateCorpusDao
- See Also:
UpdateCorpusDao.updateKemIdCorpusPriorYearValues()
updateCorpusAmountsFromTransactionArchive
public void updateCorpusAmountsFromTransactionArchive(Date currentDate)
- Description copied from interface:
UpdateCorpusDao
- Summarizes and updates the transaction archive table and
adds the totals to the Current Endowment Corpus table.
Then taking the grand totals from Current Endowment Corpus table
the KEMID Corpus Values table is updated.
- Specified by:
updateCorpusAmountsFromTransactionArchive
in interface UpdateCorpusDao
- See Also:
org.kuali.kfs.module.endow.dataaccess.UpdateCorpusDao#updateCorpusAmountsFromTransactionArchive()
updateKemIdCorpusPrincipalMarketValue
public void updateKemIdCorpusPrincipalMarketValue()
- Description copied from interface:
UpdateCorpusDao
- Updates all KEM ID Corpus records's principal market value
with the value PRIN_AT_MARKET from KEM ID Current Balance View.
- Specified by:
updateKemIdCorpusPrincipalMarketValue
in interface UpdateCorpusDao
- See Also:
org.kuali.kfs.module.endow.dataaccess.UpdateCorpusDao#updateKEMIDCorpusPrincipalMarketValue()
updateEndowmentCorpusWithCurrentEndowmentCorpus
public void updateEndowmentCorpusWithCurrentEndowmentCorpus(Date currentDate)
- Description copied from interface:
UpdateCorpusDao
- Inserts records into Endowment Corpus from the
Current Endowment Corpus table.
- Specified by:
updateEndowmentCorpusWithCurrentEndowmentCorpus
in interface UpdateCorpusDao
- See Also:
org.kuali.kfs.module.endow.dataaccess.UpdateCorpusDao#updateEndowmentCorpusWithCurrentEndowmentCorpus()
getNextDay
protected Date getNextDay(Date currentDate)
- Returns the next day
- Parameters:
currentDate
-
- Returns:
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.