org.kuali.kpme.tklm.time.missedpunch.service
Interface MissedPunchService

All Known Implementing Classes:
MissedPunchServiceImpl

public interface MissedPunchService


Method Summary
 void addClockLog(MissedPunch missedPunch, String ipAddress)
          Add a Clock Log to the specified Missed Punch
 void approveMissedPunchDocument(MissedPunchDocument missedPunchDocument)
          Approve a Missed Punch Document.
 MissedPunch getMissedPunchByClockLogId(String clockLogId)
          Get a Missed Punch by its unique Clock Log id.
 MissedPunchDocument getMissedPunchDocumentByMissedPunchId(String tkMissedPunchId)
           
 List<MissedPunchDocument> getMissedPunchDocumentsByTimesheetDocumentId(String timesheetDocumentId)
          Get a list of Missed Punch Documents by Timesheet document ids.
 void updateClockLog(MissedPunch missedPunch, String ipAddress)
          Update the Clock Log (and any Time Blocks if necessary) for the given Missed Punch.
 

Method Detail

getMissedPunchDocumentsByTimesheetDocumentId

List<MissedPunchDocument> getMissedPunchDocumentsByTimesheetDocumentId(String timesheetDocumentId)
Get a list of Missed Punch Documents by Timesheet document ids.

Parameters:
timesheetDocumentId - The Timesheet document id to look up
Returns:
a list of Missed Punch Documents associated with the given Timesheet document id

getMissedPunchByClockLogId

MissedPunch getMissedPunchByClockLogId(String clockLogId)
Get a Missed Punch by its unique Clock Log id.

Parameters:
clockLogId - The Clock Log id to look up
Returns:
the Missed Punch associated with the given Clock Log id

addClockLog

void addClockLog(MissedPunch missedPunch,
                 String ipAddress)
Add a Clock Log to the specified Missed Punch

Parameters:
missedPunch - The Missed Punch to add the Clock Log to
ipAddress - The IP address of the user

updateClockLog

void updateClockLog(MissedPunch missedPunch,
                    String ipAddress)
Update the Clock Log (and any Time Blocks if necessary) for the given Missed Punch.

Parameters:
missedPunch - The Missed Punch to update the Clock Logs for
ipAddress - The IP address of the user

approveMissedPunchDocument

void approveMissedPunchDocument(MissedPunchDocument missedPunchDocument)
Approve a Missed Punch Document.

Parameters:
missedPunchDocument - The Missed Punch Document to approve

getMissedPunchDocumentByMissedPunchId

MissedPunchDocument getMissedPunchDocumentByMissedPunchId(String tkMissedPunchId)


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