|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClockLogService
Method Summary | |
---|---|
ClockLog |
buildClockLog(Timestamp clockTimestamp,
Timestamp originalTimestamp,
Assignment assignment,
TimesheetDocument timesheetDocument,
String clockAction,
String ip)
Build ClockLog based on criteria passed in |
ClockLog |
buildClockLog(Timestamp clockTimestamp,
Timestamp originalTimestamp,
Assignment assignment,
TimesheetDocument timesheetDocument,
String clockAction,
String ip,
String userPrincipalId)
|
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 |
List<ClockLog> |
getOpenClockLogs(CalendarEntries payCalendarEntry)
Fetch open clock logs by pay calendar entry |
ClockLog |
processClockLog(Timestamp clockTimestamp,
Assignment assignment,
CalendarEntries pe,
String ip,
Date asOfDate,
TimesheetDocument td,
String clockAction,
String principalId)
Process clock log created |
ClockLog |
processClockLog(Timestamp clockTimeStamp,
Assignment assignment,
CalendarEntries pe,
String ip,
Date asOfDate,
TimesheetDocument td,
String clockAction,
String principalId,
String userPrincipalId)
|
void |
saveClockLog(ClockLog clockLog)
Save clock log |
Method Detail |
---|
void saveClockLog(ClockLog clockLog)
clockLog
- ClockLog getLastClockLog(String principalId)
principalId
-
ClockLog getLastClockLog(String principalId, String clockAction)
principalId
- clockAction
-
ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip)
clockTimestamp
- -- timestamp with grace rule applied if there is oneoriginalTimestamp
- -- timestamp without grace rule appliedassignment
- timesheetDocument
- clockAction
- ip
-
List<ClockLog> getOpenClockLogs(CalendarEntries payCalendarEntry)
payCalendarEntry
-
ClockLog processClockLog(Timestamp clockTimestamp, Assignment assignment, CalendarEntries pe, String ip, Date asOfDate, TimesheetDocument td, String clockAction, String principalId)
clockTimestamp
- assignment
- pe
- ip
- asOfDate
- td
- clockAction
- principalId
-
ClockLog getClockLog(String tkClockLogId)
tkClockLogId
-
ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip, String userPrincipalId)
ClockLog processClockLog(Timestamp clockTimeStamp, Assignment assignment, CalendarEntries pe, String ip, Date asOfDate, TimesheetDocument td, String clockAction, String principalId, String userPrincipalId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |