public class MissedPunchServiceImpl extends Object implements MissedPunchService
Constructor and Description |
---|
MissedPunchServiceImpl() |
Modifier and Type | Method and Description |
---|---|
MissedPunch |
addClockLog(MissedPunch missedPunch,
String ipAddress)
Add a Clock Log to the specified Missed Punch
|
protected MissedPunch |
addClockLogAndTimeBlocks(MissedPunch missedPunch,
String ipAddress,
String logEndId,
String logBeginId) |
protected void |
deleteClockLogAndTimeBlocks(ClockLog clockLog,
List<TimeBlock> timeBlocks) |
MissedPunch |
getMissedPunchByClockLogId(String clockLogId)
Get a Missed Punch by its unique Clock Log id.
|
List<MissedPunch> |
getMissedPunchByTimesheetDocumentId(String timesheetDocumentId)
Get a list of Missed Punches by Timesheet document ids.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setClockLogService(ClockLogService clockLogService) |
void |
setMissedPunchDao(MissedPunchDao missedPunchDao) |
void |
setTimeBlockService(TimeBlockService timeBlockService) |
void |
setTimesheetService(TimesheetService timesheetService) |
void |
setTkRuleControllerService(TkRuleControllerService tkRuleControllerService) |
MissedPunch |
updateClockLog(MissedPunch missedPunch,
String ipAddress)
Update the Clock Log (and any Time Blocks if necessary) for the given Missed Punch.
|
public MissedPunchServiceImpl()
public List<MissedPunch> getMissedPunchByTimesheetDocumentId(String timesheetDocumentId)
MissedPunchService
getMissedPunchByTimesheetDocumentId
in interface MissedPunchService
timesheetDocumentId
- The Timesheet document id to look uppublic MissedPunch getMissedPunchByClockLogId(String clockLogId)
MissedPunchService
getMissedPunchByClockLogId
in interface MissedPunchService
clockLogId
- The Clock Log id to look uppublic MissedPunch addClockLog(MissedPunch missedPunch, String ipAddress)
MissedPunchService
addClockLog
in interface MissedPunchService
missedPunch
- The Missed Punch to add the Clock Log toipAddress
- The IP address of the userpublic MissedPunch updateClockLog(MissedPunch missedPunch, String ipAddress)
MissedPunchService
updateClockLog
in interface MissedPunchService
missedPunch
- The Missed Punch to update the Clock Logs foripAddress
- The IP address of the userprotected void deleteClockLogAndTimeBlocks(ClockLog clockLog, List<TimeBlock> timeBlocks)
protected MissedPunch addClockLogAndTimeBlocks(MissedPunch missedPunch, String ipAddress, String logEndId, String logBeginId)
public void setMissedPunchDao(MissedPunchDao missedPunchDao)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setClockLogService(ClockLogService clockLogService)
public void setTimeBlockService(TimeBlockService timeBlockService)
public void setTimesheetService(TimesheetService timesheetService)
public void setTkRuleControllerService(TkRuleControllerService tkRuleControllerService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.