|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.clocklog.service.ClockLogServiceImpl
public class ClockLogServiceImpl
Constructor Summary | |
---|---|
ClockLogServiceImpl()
|
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)
|
String |
buildUnapprovedIPWarning(ClockLog cl)
Build an unapproved IP address warning message for based on given ClockLog |
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 principalId,
String jobNumber,
String workArea,
String task,
CalendarEntries calendarEntry)
Fetch last clock log for 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 |
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 |
void |
setClockLogDao(ClockLogDao clockLogDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClockLogServiceImpl()
Method Detail |
---|
public void saveClockLog(ClockLog clockLog)
ClockLogService
saveClockLog
in interface ClockLogService
public ClockLog processClockLog(Timestamp clockTimeStamp, Assignment assignment, CalendarEntries pe, String ip, Date asOfDate, TimesheetDocument td, String clockAction, String principalId)
ClockLogService
processClockLog
in interface ClockLogService
public ClockLog processClockLog(Timestamp clockTimeStamp, Assignment assignment, CalendarEntries pe, String ip, Date asOfDate, TimesheetDocument td, String clockAction, String principalId, String userPrincipalId)
processClockLog
in interface ClockLogService
public ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip)
ClockLogService
buildClockLog
in interface ClockLogService
clockTimestamp
- -- timestamp with grace rule applied if there is oneoriginalTimestamp
- -- timestamp without grace rule applied
public ClockLog buildClockLog(Timestamp clockTimestamp, Timestamp originalTimestamp, Assignment assignment, TimesheetDocument timesheetDocument, String clockAction, String ip, String userPrincipalId)
buildClockLog
in interface ClockLogService
public void setClockLogDao(ClockLogDao clockLogDao)
public ClockLog getLastClockLog(String principalId)
ClockLogService
getLastClockLog
in interface ClockLogService
public ClockLog getLastClockLog(String principalId, String clockAction)
ClockLogService
getLastClockLog
in interface ClockLogService
public ClockLog getLastClockLog(String principalId, String jobNumber, String workArea, String task, CalendarEntries calendarEntry)
ClockLogService
getLastClockLog
in interface ClockLogService
public ClockLog getClockLog(String tkClockLogId)
ClockLogService
getClockLog
in interface ClockLogService
public List<String> getUnapprovedIPWarning(List<TimeBlock> timeBlocks)
ClockLogService
getUnapprovedIPWarning
in interface ClockLogService
public String buildUnapprovedIPWarning(ClockLog cl)
ClockLogService
buildUnapprovedIPWarning
in interface ClockLogService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |