1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.lm.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.kuali.hr.lm.leaveblock.LeaveBlock;
24 import org.kuali.hr.lm.workflow.LeaveCalendarDocumentHeader;
25 import org.kuali.hr.time.approval.web.ApprovalLeaveSummaryRow;
26 import org.kuali.hr.time.calendar.CalendarEntries;
27 import org.kuali.rice.kew.api.note.Note;
28
29 public interface LeaveApprovalService {
30 public List<ApprovalLeaveSummaryRow> getLeaveApprovalSummaryRows(List<String> principalIds, CalendarEntries payCalendarEntries, List<Date> leaveSummaryDates);
31
32 public Map<Date, Map<String, BigDecimal>> getEarnCodeLeaveHours(List<LeaveBlock> leaveBlocks, List<Date> leaveSummaryDates);
33
34 public List<Map<String, Object>> getLeaveApprovalDetailSections(LeaveCalendarDocumentHeader lcdh);
35
36 public Map<Date, Map<String, BigDecimal>> getAccrualCategoryLeaveHours(List<LeaveBlock> leaveBlocks, List<Date> leaveSummaryDates);
37
38
39
40
41
42
43 public List<Note> getNotesForDocument(String documentNumber);
44
45 public List<String> getUniqueLeavePayGroupsForPrincipalIds(List<String> principalIds);
46
47
48
49
50 public List<CalendarEntries> getAllLeavePayCalendarEntriesForApprover(String principalId, Date currentDate);
51
52
53
54
55
56
57
58 public void removeNonLeaveEmployees(List<String> principalIds);
59
60
61
62
63
64
65
66
67
68 public Map<String, LeaveCalendarDocumentHeader> getPrincipalDocumentHeader(List<String> principalIds, Date payBeginDate, Date payEndDate);
69
70
71
72
73
74
75
76
77 public boolean isActiveAssignmentFoundOnJobFlsaStatus(String principalId, String flsaStatus, boolean chkForLeaveEligible);
78
79
80
81
82
83
84
85
86
87
88 public List<String> getLeavePrincipalIdsWithSearchCriteria(
89 List<String> workAreaList, String calendarGroup, java.sql.Date effdt, java.sql.Date beginDate, java.sql.Date endDate);
90 }