1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.clocklog.service;
17
18 import java.sql.Timestamp;
19 import java.util.List;
20
21 import org.kuali.hr.time.assignment.Assignment;
22 import org.kuali.hr.time.calendar.CalendarEntries;
23 import org.kuali.hr.time.clocklog.ClockLog;
24 import org.kuali.hr.time.timesheet.TimesheetDocument;
25
26 public interface ClockLogService {
27
28
29
30
31 public void saveClockLog(ClockLog clockLog);
32
33
34
35
36
37 public ClockLog getLastClockLog(String principalId);
38
39
40
41
42
43
44
45 public ClockLog getLastClockLog(String principalId, String clockAction);
46
47
48
49
50
51
52
53
54
55
56 public ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip);
57
58
59
60
61
62
63 public List<ClockLog> getOpenClockLogs(CalendarEntries payCalendarEntry);
64
65
66
67
68
69
70
71
72
73
74
75
76
77 ClockLog processClockLog(Timestamp clockTimestamp, Assignment assignment, CalendarEntries pe, String ip, java.sql.Date asOfDate, TimesheetDocument td, String clockAction, String principalId);
78
79
80
81
82
83
84 public ClockLog getClockLog(String tkClockLogId);
85
86 ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip, String userPrincipalId);
87
88 ClockLog processClockLog(Timestamp clockTimeStamp, Assignment assignment, CalendarEntries pe, String ip, java.sql.Date asOfDate, TimesheetDocument td, String clockAction, String principalId, String userPrincipalId);
89 }