org.kuali.hr.time.clocklog.dao
Interface ClockLogDao

All Known Implementing Classes:
ClockLogDaoSpringOjbImpl

public interface ClockLogDao


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
 

Method Detail

saveOrUpdate

void saveOrUpdate(ClockLog clockLog)
Save or update ClockLog passed in

Parameters:
clockLog -

saveOrUpdate

void saveOrUpdate(List<ClockLog> clockLogList)
Save or update List of ClockLogs passed in

Parameters:
clockLogList -

getLastClockLog

ClockLog getLastClockLog(String principalId)
Get last ClockLog for a given principalId

Parameters:
principalId -
Returns:

getLastClockLog

ClockLog getLastClockLog(String principalId,
                         String clockAction)
Get last ClockLog for a given principalId and clockAction

Parameters:
principalId -
clockAction -
Returns:

getOpenClockLogs

List<ClockLog> getOpenClockLogs(CalendarEntries payCalendarEntry)
Return a list of all open clock logs

Parameters:
payCalendarEntry -
Returns:

getClockLog

ClockLog getClockLog(String tkClockLogId)
Fetch clock log by id

Parameters:
tkClockLogId -
Returns:


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