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
 ClockLog getLastClockLog(String principalId, String jobNumber, String workArea, String task, CalendarEntries payCalendarEntry)
          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
 

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:

getLastClockLog

ClockLog getLastClockLog(String principalId,
                         String jobNumber,
                         String workArea,
                         String task,
                         CalendarEntries payCalendarEntry)
Returns the last clock log for this user's assignment in a certain period

Parameters:
principalId -
jobNumber -
workArea -
task -
calendarEntry -
Returns:

getClockLog

ClockLog getClockLog(String tkClockLogId)
Fetch clock log by id

Parameters:
tkClockLogId -
Returns:


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