public interface ClockLogService
Modifier and Type | Method and Description |
---|---|
String |
buildUnapprovedIPWarning(ClockLog cl)
Build an unapproved IP address warning message for based on given ClockLog
|
void |
deleteClockLogsForDocumentId(String documentId) |
ClockLog |
getClockLog(String tkClockLogId)
Fetch clock log by id
|
ClockLog |
getLastClockLog(String principalId)
Fetch last clock log for principal id
|
ClockLog |
getLastClockLog(String principalId,
String clockAction)
Fetch last clock log for principal id and clock action
|
ClockLog |
getLastClockLog(String groupKeyCode,
String principalId,
String jobNumber,
String workArea,
String task,
CalendarEntry calendarEntry)
Fetch last clock log for group key code, principal id, assignment details, and calendar entry
|
List<String> |
getUnapprovedIPWarning(List<TimeBlock> timeBlocks)
Get warning messages for clock actions taken from unapproved IP address on given timesheet document
|
boolean |
isClockLogCreatedByMissedPunch(String clockLogId)
Determine if a clock log was created by Missed Punch document
|
ClockLog |
processClockLog(String principalId,
String documentId,
org.joda.time.DateTime clockDateTime,
Assignment assignment,
CalendarEntry pe,
String ip,
org.joda.time.LocalDate asOfDate,
String clockAction,
boolean runRules)
Process clock log created
|
ClockLog |
processClockLog(String principalId,
String documentId,
org.joda.time.DateTime clockDateTime,
Assignment assignment,
CalendarEntry pe,
String ip,
org.joda.time.LocalDate asOfDate,
String clockAction,
boolean runRules,
String userPrincipalId) |
ClockLog |
saveClockLog(ClockLog clockLog)
Save clock log
|
ClockLog saveClockLog(ClockLog clockLog)
clockLog
- @CacheEvict(value="http://kpme.kuali.org/core/Assignment", allEntries=true) ClockLog processClockLog(String principalId, String documentId, org.joda.time.DateTime clockDateTime, Assignment assignment, CalendarEntry pe, String ip, org.joda.time.LocalDate asOfDate, String clockAction, boolean runRules)
principalId
- documentId
- clockDateTime
- assignment
- pe
- ip
- asOfDate
- clockAction
- principalId
- @CacheEvict(value="http://kpme.kuali.org/core/Assignment", allEntries=true) ClockLog processClockLog(String principalId, String documentId, org.joda.time.DateTime clockDateTime, Assignment assignment, CalendarEntry pe, String ip, org.joda.time.LocalDate asOfDate, String clockAction, boolean runRules, String userPrincipalId)
ClockLog getLastClockLog(String principalId)
principalId
- ClockLog getLastClockLog(String principalId, String clockAction)
principalId
- clockAction
- ClockLog getLastClockLog(String groupKeyCode, String principalId, String jobNumber, String workArea, String task, CalendarEntry calendarEntry)
groupKeyCode
- principalId
- jobNumber
- workArea
- task
- task2
- calendarEntry
- ClockLog getClockLog(String tkClockLogId)
tkClockLogId
- @CacheEvict(value="http://kpme.kuali.org/core/Assignment", allEntries=true) void deleteClockLogsForDocumentId(String documentId)
List<String> getUnapprovedIPWarning(List<TimeBlock> timeBlocks)
timeBlocks
- String buildUnapprovedIPWarning(ClockLog cl)
cl
- boolean isClockLogCreatedByMissedPunch(String clockLogId)
clockLogId
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.