org.kuali.kpme.tklm.time.workflow.dao
Class TimesheetDocumentHeaderDaoOjbImpl

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

public class TimesheetDocumentHeaderDaoOjbImpl
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
TimesheetDocumentHeaderDaoOjbImpl()
           
 
Method Summary
 void deleteTimesheetHeader(String documentId)
           
 TimesheetDocumentHeader getDocumentHeaderForDate(String principalId, org.joda.time.DateTime asOfDate)
           
 List<TimesheetDocumentHeader> getDocumentHeaders(org.joda.time.DateTime payBeginDate, org.joda.time.DateTime payEndDate)
           
 List<TimesheetDocumentHeader> getDocumentHeadersForPrincipalId(String principalId)
           
 List<TimesheetDocumentHeader> getDocumentHeadersForYear(String principalId, String year)
           
 TimesheetDocumentHeader getNextDocumentHeader(String principalId, org.joda.time.DateTime payEndDate)
           
 TimesheetDocumentHeader getPreviousDocumentHeader(String principalId, org.joda.time.DateTime 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, org.joda.time.DateTime payBeginDate, org.joda.time.DateTime 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

TimesheetDocumentHeaderDaoOjbImpl

public TimesheetDocumentHeaderDaoOjbImpl()
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,
                                                          org.joda.time.DateTime payBeginDate,
                                                          org.joda.time.DateTime payEndDate)
Specified by:
getTimesheetDocumentHeader in interface TimesheetDocumentHeaderDao

getPreviousDocumentHeader

public TimesheetDocumentHeader getPreviousDocumentHeader(String principalId,
                                                         org.joda.time.DateTime 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,
                                                     org.joda.time.DateTime payEndDate)
Specified by:
getNextDocumentHeader in interface TimesheetDocumentHeaderDao

getDocumentHeaders

public List<TimesheetDocumentHeader> getDocumentHeaders(org.joda.time.DateTime payBeginDate,
                                                        org.joda.time.DateTime 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,
                                                        org.joda.time.DateTime asOfDate)
Specified by:
getDocumentHeaderForDate in interface TimesheetDocumentHeaderDao


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