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
 void deleteClockLogsForDocumentId(String documentId)
           
 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
 ClockLog getLastClockLog(String principalId, String jobNumber, String workArea, String task, CalendarEntries calendarEntry)
          Returns the last clock log for this user's assignment in a certain period
 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:

getLastClockLog

public ClockLog getLastClockLog(String principalId,
                                String jobNumber,
                                String workArea,
                                String task,
                                CalendarEntries calendarEntry)
Description copied from interface: ClockLogDao
Returns the last clock log for this user's assignment in a certain period

Specified by:
getLastClockLog in interface ClockLogDao
Returns:

deleteClockLogsForDocumentId

public void deleteClockLogsForDocumentId(String documentId)
Specified by:
deleteClockLogsForDocumentId in interface ClockLogDao


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