org.kuali.kfs.coa.dataaccess.impl
Class PriorYearAccountDaoJdbcImpl
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.coa.dataaccess.impl.PriorYearAccountDaoJdbcImpl
- All Implemented Interfaces:
- PriorYearAccountDaoJdbc, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class PriorYearAccountDaoJdbcImpl
- extends org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
- implements PriorYearAccountDaoJdbc
This class performs actions against the database through direct SQL command calls.
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 |
PriorYearAccountDaoJdbcImpl
public PriorYearAccountDaoJdbcImpl()
purgePriorYearAccounts
public int purgePriorYearAccounts()
- This method purges all records in the Prior Year Account table in the DB.
- Specified by:
purgePriorYearAccounts
in interface PriorYearAccountDaoJdbc
- Returns:
- Number of records that were purged.
copyCurrentAccountsToPriorYearTable
public int copyCurrentAccountsToPriorYearTable()
- This method copies all organization records from the current Account table to the Prior Year Account table.
- Specified by:
copyCurrentAccountsToPriorYearTable
in interface PriorYearAccountDaoJdbc
- Returns:
- Number of records that were copied.
getPersistenceStructureService
public org.kuali.rice.kns.service.PersistenceStructureService getPersistenceStructureService()
- Gets the persistenceStructureService attribute.
- Returns:
- Returns the persistenceStructureService.
setPersistenceStructureService
public void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
- Sets the persistenceStructureService attribute value.
- Parameters:
persistenceStructureService
- The persistenceStructureService to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.