org.kuali.hr.time.workflow.dao
Class TimesheetDocumentHeaderDaoSpringOjbImpl

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

public class TimesheetDocumentHeaderDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements TimesheetDocumentHeaderDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
TimesheetDocumentHeaderDaoSpringOjbImpl()
           
 
Method Summary
 void deleteTimesheetHeader(String documentId)
           
 TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, Date asOfDate)
           
 List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate)
           
 List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate, Date payEndDate)
           
 List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
           
 List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year)
           
 TimesheetDocumentHeader getNextDocumentHeader(String principalId, Date payEndDate)
           
 TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, Date payBeginDate)
          Document header IDs are ordered, so an ID less than the current will always be previous to current.
 TimesheetDocumentHeader getTimesheetDocumentHeader(String documentId)
           
 TimesheetDocumentHeader getTimesheetDocumentHeader(String principalId, Date payBeginDate, Date payEndDate)
           
 void saveOrUpdate(TimesheetDocumentHeader documentHeader)
           
 
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

TimesheetDocumentHeaderDaoSpringOjbImpl

public TimesheetDocumentHeaderDaoSpringOjbImpl()
Method Detail

getTimesheetDocumentHeader

public TimesheetDocumentHeader getTimesheetDocumentHeader(String documentId)
Specified by:
getTimesheetDocumentHeader in interface TimesheetDocumentHeaderDao

saveOrUpdate

public void saveOrUpdate(TimesheetDocumentHeader documentHeader)
Specified by:
saveOrUpdate in interface TimesheetDocumentHeaderDao

deleteTimesheetHeader

public void deleteTimesheetHeader(String documentId)
Specified by:
deleteTimesheetHeader in interface TimesheetDocumentHeaderDao

getTimesheetDocumentHeader

public TimesheetDocumentHeader getTimesheetDocumentHeader(String principalId,
                                                          Date payBeginDate,
                                                          Date payEndDate)
Specified by:
getTimesheetDocumentHeader in interface TimesheetDocumentHeaderDao

getPreviousDocumentHeader

public TimesheetDocumentHeader getPreviousDocumentHeader(String principalId,
                                                         Date payBeginDate)
Document header IDs are ordered, so an ID less than the current will always be previous to current.

Specified by:
getPreviousDocumentHeader in interface TimesheetDocumentHeaderDao

getNextDocumentHeader

public TimesheetDocumentHeader getNextDocumentHeader(String principalId,
                                                     Date payEndDate)
Specified by:
getNextDocumentHeader in interface TimesheetDocumentHeaderDao

getDocumentHeaders

public List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate)
Specified by:
getDocumentHeaders in interface TimesheetDocumentHeaderDao

getDocumentHeaders

public List<TimesheetDocumentHeader> getDocumentHeaders(Date payBeginDate,
                                                        Date payEndDate)
Specified by:
getDocumentHeaders in interface TimesheetDocumentHeaderDao

getDocumentHeadersForPrincipalId

public List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
Specified by:
getDocumentHeadersForPrincipalId in interface TimesheetDocumentHeaderDao

getDocumentHeadersForYear

public List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId,
                                                               String year)
Specified by:
getDocumentHeadersForYear in interface TimesheetDocumentHeaderDao

getDocumentHeaderForDate

public TimesheetDocumentHeader getDocumentHeaderForDate(String principalId,
                                                        Date asOfDate)
Specified by:
getDocumentHeaderForDate in interface TimesheetDocumentHeaderDao


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