org.kuali.kfs.module.bc.dataaccess.impl
Class HumanResourcesPayrollDaoJdbc
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.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase
org.kuali.kfs.module.bc.dataaccess.impl.HumanResourcesPayrollDaoJdbc
- All Implemented Interfaces:
- HumanResourcesPayrollDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class HumanResourcesPayrollDaoJdbc
- extends BudgetConstructionDaoJdbcBase
- implements HumanResourcesPayrollDao
Implementation of HumanResourcesPayrollDao
using JDBC to query PS_POSITION_DATA and then set other
Position
fields to hard-coded IU values. This is for bootstrap only.
- See Also:
HumanResourcesPayrollDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase |
clearTempTableBySesId, clearTempTableByUnvlId, getExpenditureINList, getFiscalYearStartDate, getRevenueINList, getSqlSubStringFunction, inString, inString, setOjbOraclePlatform, setOjbPlatform, setParameterService |
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 |
HumanResourcesPayrollDaoJdbc
public HumanResourcesPayrollDaoJdbc()
getPosition
public Position getPosition(Integer universityFiscalYear,
String positionNumber)
- Gets the
Position
data by querying PS_POSITION_DATA then setting other fields using IU business rules. This is
used in the bootstrap service implementation for an example.
- Specified by:
getPosition
in interface HumanResourcesPayrollDao
- Parameters:
universityFiscalYear
- position fiscal year, part of record keypositionNumber
- position number, part of record key
- Returns:
- See Also:
HumanResourcesPayrollDao.getPosition(java.lang.Integer, java.lang.String)
getPositionDataForFiscalYear
protected HumanResourcesPayrollDaoJdbc.PositionData getPositionDataForFiscalYear(Integer universityFiscalYear,
String positionNumber)
- find positions with effective date before July 1 of fiscal year or on August 1 of fiscal year for academic tenure salary plan
- Parameters:
universityFiscalYear
- positionNumber
-
- Returns:
getPositionData
public Collection<HumanResourcesPayrollDaoJdbc.PositionData> getPositionData(String positionNumber)
- Retrieves record for position key from PS_POSITION_DATA and returns populated
PositionData
business object.
populatePositionData
public void populatePositionData(Position position,
HumanResourcesPayrollDaoJdbc.PositionData positionData)
- Sets
Position
fields with data from PositionData
setDefaultObjectClass
public void setDefaultObjectClass(Position position)
- Sets defaults based on salary plan.
- Parameters:
position
- Position
to update
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.