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

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.TimeOffAccrualDaoSpringOjbImpl
All Implemented Interfaces:
TimeOffAccrualDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class TimeOffAccrualDaoSpringOjbImpl
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
TimeOffAccrualDaoSpringOjbImpl()
           
 
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
 List<TimeOffAccrual> getTimeOffAccruals(String principalId, String accrualCategory)
           
 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

TimeOffAccrualDaoSpringOjbImpl

public TimeOffAccrualDaoSpringOjbImpl()
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

getTimeOffAccruals

public List<TimeOffAccrual> getTimeOffAccruals(String principalId,
                                               String accrualCategory)
Specified by:
getTimeOffAccruals in interface TimeOffAccrualDao


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