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)
           
 List<CalendarEntries> getAllCalendarEntriesForCalendarIdUpToCutOffTime(String hrCalendarId, Date cutOffTime)
           
 CalendarEntries getCalendarEntries(String hrCalendarEntriesId)
           
 CalendarEntries getCalendarEntriesByCalendarIdAndDateRange(String hrCalendarId, Date beginDate, Date endDate)
           
 CalendarEntries getCalendarEntriesByIdAndPeriodEndDate(String hrCalendarId, Date endPeriodDate)
           
 List<CalendarEntries> getCalendarEntriesEndingBetweenBeginAndEndDate(String hrCalendarId, Date beginDate, Date endDate)
           
 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

getCalendarEntriesByCalendarIdAndDateRange

public CalendarEntries getCalendarEntriesByCalendarIdAndDateRange(String hrCalendarId,
                                                                  Date beginDate,
                                                                  Date endDate)
Specified by:
getCalendarEntriesByCalendarIdAndDateRange 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

getCalendarEntriesEndingBetweenBeginAndEndDate

public List<CalendarEntries> getCalendarEntriesEndingBetweenBeginAndEndDate(String hrCalendarId,
                                                                            Date beginDate,
                                                                            Date endDate)
Specified by:
getCalendarEntriesEndingBetweenBeginAndEndDate in interface CalendarEntriesDao

getAllCalendarEntriesForCalendarId

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

getAllCalendarEntriesForCalendarIdUpToCutOffTime

public List<CalendarEntries> getAllCalendarEntriesForCalendarIdUpToCutOffTime(String hrCalendarId,
                                                                              Date cutOffTime)
Specified by:
getAllCalendarEntriesForCalendarIdUpToCutOffTime in interface CalendarEntriesDao

getAllCalendarEntriesForCalendarIdAndYear

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


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