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