org.kuali.hr.time.calendar.dao
Class CalendarEntriesDaoSpringOjbImpl

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

public class CalendarEntriesDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements CalendarEntriesDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CalendarEntriesDaoSpringOjbImpl()
           
 
Method Summary
 List<CalendarEntries> getAllCalendarEntriesForCalendarId(String hrCalendarId)
           
 List<CalendarEntries> getAllCalendarEntriesForCalendarIdAndYear(String hrCalendarId, String year)
           
 CalendarEntries getCalendarEntries(String hrCalendarEntriesId)
           
 CalendarEntries getCalendarEntriesByBeginAndEndDate(Date beginPeriodDate, Date endPeriodDate)
           
 CalendarEntries getCalendarEntriesByIdAndPeriodEndDate(String hrCalendarId, Date endPeriodDate)
           
 CalendarEntries getCurrentCalendarEntriesByCalendarId(String hrCalendarId, Date currentDate)
           
 List<CalendarEntries> getCurrentCalendarEntryNeedsScheduled(int thresholdDays, Date asOfDate)
           
 List<CalendarEntries> getFutureCalendarEntries(String hrCalendarId, Date currentDate, int numberOfEntries)
           
 CalendarEntries getNextCalendarEntriesByCalendarId(String hrCalendarId, CalendarEntries calendarEntries)
           
 CalendarEntries getPreviousCalendarEntriesByCalendarId(String hrCalendarId, CalendarEntries calendarEntries)
           
 void saveOrUpdate(CalendarEntries calendarEntries)
           
 
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

CalendarEntriesDaoSpringOjbImpl

public CalendarEntriesDaoSpringOjbImpl()
Method Detail

saveOrUpdate

public void saveOrUpdate(CalendarEntries calendarEntries)
Specified by:
saveOrUpdate in interface CalendarEntriesDao

getCalendarEntries

public CalendarEntries getCalendarEntries(String hrCalendarEntriesId)
Specified by:
getCalendarEntries in interface CalendarEntriesDao

getCalendarEntriesByIdAndPeriodEndDate

public CalendarEntries getCalendarEntriesByIdAndPeriodEndDate(String hrCalendarId,
                                                              Date endPeriodDate)
Specified by:
getCalendarEntriesByIdAndPeriodEndDate in interface CalendarEntriesDao

getCurrentCalendarEntriesByCalendarId

public CalendarEntries getCurrentCalendarEntriesByCalendarId(String hrCalendarId,
                                                             Date currentDate)
Specified by:
getCurrentCalendarEntriesByCalendarId in interface CalendarEntriesDao

getNextCalendarEntriesByCalendarId

public CalendarEntries getNextCalendarEntriesByCalendarId(String hrCalendarId,
                                                          CalendarEntries calendarEntries)
Specified by:
getNextCalendarEntriesByCalendarId in interface CalendarEntriesDao

getPreviousCalendarEntriesByCalendarId

public CalendarEntries getPreviousCalendarEntriesByCalendarId(String hrCalendarId,
                                                              CalendarEntries calendarEntries)
Specified by:
getPreviousCalendarEntriesByCalendarId in interface CalendarEntriesDao

getCurrentCalendarEntryNeedsScheduled

public List<CalendarEntries> getCurrentCalendarEntryNeedsScheduled(int thresholdDays,
                                                                   Date asOfDate)
Specified by:
getCurrentCalendarEntryNeedsScheduled in interface CalendarEntriesDao

getFutureCalendarEntries

public List<CalendarEntries> getFutureCalendarEntries(String hrCalendarId,
                                                      Date currentDate,
                                                      int numberOfEntries)
Specified by:
getFutureCalendarEntries in interface CalendarEntriesDao

getCalendarEntriesByBeginAndEndDate

public CalendarEntries getCalendarEntriesByBeginAndEndDate(Date beginPeriodDate,
                                                           Date endPeriodDate)
Specified by:
getCalendarEntriesByBeginAndEndDate in interface CalendarEntriesDao

getAllCalendarEntriesForCalendarId

public List<CalendarEntries> getAllCalendarEntriesForCalendarId(String hrCalendarId)
Specified by:
getAllCalendarEntriesForCalendarId in interface CalendarEntriesDao

getAllCalendarEntriesForCalendarIdAndYear

public List<CalendarEntries> getAllCalendarEntriesForCalendarIdAndYear(String hrCalendarId,
                                                                       String year)
Specified by:
getAllCalendarEntriesForCalendarIdAndYear in interface CalendarEntriesDao


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