1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.api.leave.approval;
17
18 import org.joda.time.DateTime;
19 import org.joda.time.LocalDate;
20 import org.joda.time.LocalDateTime;
21 import org.kuali.kpme.core.api.calendar.entry.CalendarEntry;
22 import org.kuali.kpme.tklm.api.leave.block.LeaveBlock;
23 import org.kuali.kpme.tklm.api.leave.workflow.LeaveCalendarDocumentHeaderContract;
24 import org.kuali.rice.kew.api.note.Note;
25
26 import java.math.BigDecimal;
27 import java.util.List;
28 import java.util.Map;
29
30 public interface LeaveApprovalService {
31 public List<ApprovalLeaveSummaryRowContract> getLeaveApprovalSummaryRows(List<String> principalIds, CalendarEntry payCalendarEntry, List<LocalDateTime> leaveSummaryDates, String docIdSearchTerm);
32
33 public Map<LocalDateTime, Map<String, BigDecimal>> getEarnCodeLeaveHours(List<LeaveBlock> leaveBlocks, List<LocalDateTime> leaveSummaryDates);
34
35 public List<Map<String, Object>> getLeaveApprovalDetailSections(LeaveCalendarDocumentHeaderContract lcdh);
36
37 public Map<LocalDateTime, Map<String, BigDecimal>> getAccrualCategoryLeaveHours(List<LeaveBlock> leaveBlocks, List<LocalDateTime> leaveSummaryDates);
38
39
40
41
42
43
44 public List<Note> getNotesForDocument(String documentNumber);
45
46
47
48
49
50
51
52 public void removeNonLeaveEmployees(List<String> principalIds);
53
54
55
56
57
58
59
60
61
62 public Map<String, LeaveCalendarDocumentHeaderContract> getPrincipalDocumentHeader(List<String> principalIds, DateTime payBeginDate, DateTime payEndDate);
63
64
65
66
67
68
69
70
71 public boolean isActiveAssignmentFoundOnJobFlsaStatus(String principalId, String flsaStatus, boolean chkForLeaveEligible);
72
73
74
75
76
77
78
79
80
81
82 public List<String> getLeavePrincipalIdsWithSearchCriteria(
83 List<String> workAreaList, String calendarGroup, LocalDate effdt, LocalDate beginDate, LocalDate endDate);
84 }