org.kuali.hr.time.clocklog.dao
Class ClockLogDaoSpringOjbImpl

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

public class ClockLogDaoSpringOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements ClockLogDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ClockLogDaoSpringOjbImpl()
           
 
Method Summary
 ClockLog getClockLog(String tkClockLogId)
          Fetch clock log by id
 ClockLog getLastClockLog(String principalId)
          Get last ClockLog for a given principalId
 ClockLog getLastClockLog(String principalId, String clockAction)
          Get last ClockLog for a given principalId and clockAction
 List<ClockLog> getOpenClockLogs(CalendarEntries payCalendarEntry)
          Return a list of all open clock logs
 void saveOrUpdate(ClockLog clockLog)
          Save or update ClockLog passed in
 void saveOrUpdate(List<ClockLog> clockLogList)
          Save or update List of ClockLogs passed in
 
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

ClockLogDaoSpringOjbImpl

public ClockLogDaoSpringOjbImpl()
Method Detail

saveOrUpdate

public void saveOrUpdate(ClockLog clockLog)
Description copied from interface: ClockLogDao
Save or update ClockLog passed in

Specified by:
saveOrUpdate in interface ClockLogDao

saveOrUpdate

public void saveOrUpdate(List<ClockLog> clockLogList)
Description copied from interface: ClockLogDao
Save or update List of ClockLogs passed in

Specified by:
saveOrUpdate in interface ClockLogDao

getClockLog

public ClockLog getClockLog(String tkClockLogId)
Description copied from interface: ClockLogDao
Fetch clock log by id

Specified by:
getClockLog in interface ClockLogDao
Returns:

getLastClockLog

public ClockLog getLastClockLog(String principalId)
Description copied from interface: ClockLogDao
Get last ClockLog for a given principalId

Specified by:
getLastClockLog in interface ClockLogDao
Returns:

getLastClockLog

public ClockLog getLastClockLog(String principalId,
                                String clockAction)
Description copied from interface: ClockLogDao
Get last ClockLog for a given principalId and clockAction

Specified by:
getLastClockLog in interface ClockLogDao
Returns:

getOpenClockLogs

public List<ClockLog> getOpenClockLogs(CalendarEntries payCalendarEntry)
Description copied from interface: ClockLogDao
Return a list of all open clock logs

Specified by:
getOpenClockLogs in interface ClockLogDao
Returns:


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