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