1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.lm.leaveSummary.service;
17
18 import java.math.BigDecimal;
19 import java.util.Date;
20 import java.util.List;
21
22 import org.kuali.hr.lm.leaveSummary.LeaveSummary;
23 import org.kuali.hr.time.calendar.CalendarEntries;
24
25 public interface LeaveSummaryService {
26 public LeaveSummary getLeaveSummary(String principalId, CalendarEntries calendarEntry) throws Exception;
27
28 public List<Date> getLeaveSummaryDates(CalendarEntries cal);
29
30 public LeaveSummary getLeaveSummaryAsOfDate(String principalId, java.sql.Date asOfDate);
31
32 public LeaveSummary getLeaveSummaryAsOfDateForAccrualCategory(String principalId, java.sql.Date asOfDate, String accrualCategory);
33
34 public LeaveSummary getLeaveSummaryAsOfDateWithoutFuture(String principalId, java.sql.Date asOfDate);
35
36
37 public BigDecimal getLeaveBalanceForAccrCatUpToDate(String principalId,
38 java.sql.Date startDate,
39 java.sql.Date endDate,
40 String accrualCategory,
41 Date usageEndDate);
42 }