org.kuali.hr.time.timeblock.dao
Class TimeBlockDaoSpringOjbImpl

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

public class TimeBlockDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements TimeBlockDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
TimeBlockDaoSpringOjbImpl()
           
 
Method Summary
 void deleteTimeBlock(TimeBlock timeBlock)
           
 void deleteTimeBlocksAssociatedWithDocumentId(String documentId)
           
 List<TimeBlock> getLatestEndTimestamp()
           
 List<TimeBlock> getOvernightTimeBlocks(String clockLogEndId)
           
 TimeBlock getTimeBlock(String tkTimeBlockId)
           
 List<TimeBlock> getTimeBlocks()
           
 List<TimeBlock> getTimeBlocks(String documentId)
           
 List<TimeBlock> getTimeBlocksForAssignment(Assignment assign)
           
 List<TimeBlock> getTimeBlocksForClockLogBeginId(String tkClockLogId)
           
 List<TimeBlock> getTimeBlocksForClockLogEndId(String tkClockLogId)
           
 List<TimeBlock> getTimeBlocksWithEarnCode(String earnCode, Date effDate)
           
 void saveOrUpdate(List<TimeBlock> timeBlockList)
           
 void saveOrUpdate(TimeBlock timeBlock)
           
 
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

TimeBlockDaoSpringOjbImpl

public TimeBlockDaoSpringOjbImpl()
Method Detail

saveOrUpdate

public void saveOrUpdate(TimeBlock timeBlock)
Specified by:
saveOrUpdate in interface TimeBlockDao

saveOrUpdate

public void saveOrUpdate(List<TimeBlock> timeBlockList)
Specified by:
saveOrUpdate in interface TimeBlockDao

getTimeBlock

public TimeBlock getTimeBlock(String tkTimeBlockId)
Specified by:
getTimeBlock in interface TimeBlockDao

getTimeBlocks

public List<TimeBlock> getTimeBlocks(String documentId)
Specified by:
getTimeBlocks in interface TimeBlockDao

getTimeBlocksForAssignment

public List<TimeBlock> getTimeBlocksForAssignment(Assignment assign)
Specified by:
getTimeBlocksForAssignment in interface TimeBlockDao

deleteTimeBlock

public void deleteTimeBlock(TimeBlock timeBlock)
Specified by:
deleteTimeBlock in interface TimeBlockDao

deleteTimeBlocksAssociatedWithDocumentId

public void deleteTimeBlocksAssociatedWithDocumentId(String documentId)
Specified by:
deleteTimeBlocksAssociatedWithDocumentId in interface TimeBlockDao

getTimeBlocksForClockLogEndId

public List<TimeBlock> getTimeBlocksForClockLogEndId(String tkClockLogId)
Specified by:
getTimeBlocksForClockLogEndId in interface TimeBlockDao

getTimeBlocksForClockLogBeginId

public List<TimeBlock> getTimeBlocksForClockLogBeginId(String tkClockLogId)
Specified by:
getTimeBlocksForClockLogBeginId in interface TimeBlockDao

getTimeBlocks

public List<TimeBlock> getTimeBlocks()
Specified by:
getTimeBlocks in interface TimeBlockDao

getLatestEndTimestamp

public List<TimeBlock> getLatestEndTimestamp()
Specified by:
getLatestEndTimestamp in interface TimeBlockDao

getOvernightTimeBlocks

public List<TimeBlock> getOvernightTimeBlocks(String clockLogEndId)
Specified by:
getOvernightTimeBlocks in interface TimeBlockDao

getTimeBlocksWithEarnCode

public List<TimeBlock> getTimeBlocksWithEarnCode(String earnCode,
                                                 Date effDate)
Specified by:
getTimeBlocksWithEarnCode in interface TimeBlockDao


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