1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.lm.timeoff.service;
17
18 import java.math.BigDecimal;
19 import java.util.Date;
20 import java.util.List;
21
22 import org.kuali.hr.job.Job;
23 import org.kuali.hr.lm.timeoff.SystemScheduledTimeOff;
24 import org.kuali.hr.time.assignment.Assignment;
25 import org.kuali.hr.time.timesheet.TimesheetDocument;
26 import org.springframework.cache.annotation.Cacheable;
27
28 public interface SystemScheduledTimeOffService {
29
30
31
32
33
34
35 @Cacheable(value= SystemScheduledTimeOff.CACHE_NAME, key="'lmSystemScheduledTimeOffId=' + #p0")
36 public SystemScheduledTimeOff getSystemScheduledTimeOff(String lmSystemScheduledTimeOffId);
37
38 public List<SystemScheduledTimeOff> getSystemScheduledTimeOffForPayPeriod(
39 String leavePlan, Date startDate, Date endDate);
40
41 public SystemScheduledTimeOff getSystemScheduledTimeOffByDate(String leavePlan, Date startDate);
42
43 Assignment getAssignmentToApplyHolidays(
44 TimesheetDocument timesheetDocument, java.sql.Date payEndDate);
45
46
47
48
49
50
51
52 public BigDecimal calculateSysSchTimeOffHours(Job job, BigDecimal sstoHours);
53
54 List<SystemScheduledTimeOff> getSystemScheduledTimeOffs(Date fromEffdt, Date toEffdt, String earnCode, Date fromAccruedDate, Date toAccruedDate,
55 Date fromSchTimeOffDate, Date toSchTimeOffDate, String active, String showHist);
56
57
58
59
60
61
62
63
64
65 public List<SystemScheduledTimeOff> getSystemScheduledTimeOffsForLeavePlan(Date fromAccruedDate,Date toAccruedDate, String leavePlan);
66 }