org.kuali.hr.lm.leaveplan.dao
Class LeavePlanDaoSpringOjbImpl

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

public class LeavePlanDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements LeavePlanDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LeavePlanDaoSpringOjbImpl()
           
 
Method Summary
 List<LeavePlan> getAllActiveLeavePlan(String leavePlan, Date asOfDate)
           
 List<LeavePlan> getAllInActiveLeavePlan(String leavePlan, Date asOfDate)
           
 LeavePlan getLeavePlan(String lmLeavePlanId)
          Get leave plan from id
 LeavePlan getLeavePlan(String leavePlan, Date asOfDate)
           
 List<LeavePlan> getLeavePlans(String leavePlan, String calendarYearStart, String descr, String planningMonths, Date fromEffdt, Date toEffdt, String active, String showHistory)
           
 List<LeavePlan> getLeavePlansNeedsScheduled(int thresholdDays, Date asOfDate)
           
 int getNumberLeavePlan(String leavePlan)
           
 
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

LeavePlanDaoSpringOjbImpl

public LeavePlanDaoSpringOjbImpl()
Method Detail

getLeavePlan

public LeavePlan getLeavePlan(String lmLeavePlanId)
Description copied from interface: LeavePlanDao
Get leave plan from id

Specified by:
getLeavePlan in interface LeavePlanDao
Returns:
LeavePlan

getLeavePlan

public LeavePlan getLeavePlan(String leavePlan,
                              Date asOfDate)
Specified by:
getLeavePlan in interface LeavePlanDao

getNumberLeavePlan

public int getNumberLeavePlan(String leavePlan)
Specified by:
getNumberLeavePlan in interface LeavePlanDao

getAllActiveLeavePlan

public List<LeavePlan> getAllActiveLeavePlan(String leavePlan,
                                             Date asOfDate)
Specified by:
getAllActiveLeavePlan in interface LeavePlanDao

getAllInActiveLeavePlan

public List<LeavePlan> getAllInActiveLeavePlan(String leavePlan,
                                               Date asOfDate)
Specified by:
getAllInActiveLeavePlan in interface LeavePlanDao

getLeavePlans

public List<LeavePlan> getLeavePlans(String leavePlan,
                                     String calendarYearStart,
                                     String descr,
                                     String planningMonths,
                                     Date fromEffdt,
                                     Date toEffdt,
                                     String active,
                                     String showHistory)
Specified by:
getLeavePlans in interface LeavePlanDao

getLeavePlansNeedsScheduled

public List<LeavePlan> getLeavePlansNeedsScheduled(int thresholdDays,
                                                   Date asOfDate)
Specified by:
getLeavePlansNeedsScheduled in interface LeavePlanDao


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