org.kuali.hr.time.accrual.dao
Class TimeOffAccrualkDaoSpringOjbImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              extended by org.kuali.hr.time.accrual.dao.TimeOffAccrualkDaoSpringOjbImpl
All Implemented Interfaces:
TimeOffAccrualDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class TimeOffAccrualkDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements TimeOffAccrualDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
TimeOffAccrualkDaoSpringOjbImpl()
           
 
Method Summary
 List<TimeOffAccrual> getActiveTimeOffAccruals(String principalId, Date asOfDate)
          Get active accrual categories
 TimeOffAccrual getTimeOffAccrual(Long laTimeOffAccrualId)
          Get time off accrual by unique id
 int getTimeOffAccrualCount(String accrualCategory, Date effectiveDate, String principalId, String lmAccrualId)
           
 List<TimeOffAccrual> getTimeOffAccruals(String principalId)
          Get Time off accruals by principal id
 void saveOrUpdate(List<TimeOffAccrual> timeOffAccrualList)
           
 void saveOrUpdate(TimeOffAccrual timeOffAccrual)
           
 
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
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
 

Constructor Detail

TimeOffAccrualkDaoSpringOjbImpl

public TimeOffAccrualkDaoSpringOjbImpl()
Method Detail

saveOrUpdate

public void saveOrUpdate(TimeOffAccrual timeOffAccrual)

saveOrUpdate

public void saveOrUpdate(List<TimeOffAccrual> timeOffAccrualList)

getTimeOffAccruals

public List<TimeOffAccrual> getTimeOffAccruals(String principalId)
Description copied from interface: TimeOffAccrualDao
Get Time off accruals by principal id

Specified by:
getTimeOffAccruals in interface TimeOffAccrualDao
Returns:

getTimeOffAccrual

public TimeOffAccrual getTimeOffAccrual(Long laTimeOffAccrualId)
Description copied from interface: TimeOffAccrualDao
Get time off accrual by unique id

Specified by:
getTimeOffAccrual in interface TimeOffAccrualDao
Returns:

getActiveTimeOffAccruals

public List<TimeOffAccrual> getActiveTimeOffAccruals(String principalId,
                                                     Date asOfDate)
Description copied from interface: TimeOffAccrualDao
Get active accrual categories

Specified by:
getActiveTimeOffAccruals in interface TimeOffAccrualDao
Returns:

getTimeOffAccrualCount

public int getTimeOffAccrualCount(String accrualCategory,
                                  Date effectiveDate,
                                  String principalId,
                                  String lmAccrualId)
Specified by:
getTimeOffAccrualCount in interface TimeOffAccrualDao


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.