org.kuali.hr.lm.leaveplan.service
Interface LeavePlanService

All Known Implementing Classes:
LeavePlanServiceImpl

public interface LeavePlanService


Method Summary
 List<LeavePlan> getAllActiveLeavePlan(String leavePlan, Date asOfDate)
           
 List<LeavePlan> getAllInActiveLeavePlan(String leavePlan, Date asOfDate)
           
 org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan, Date date)
           
 LeavePlan getLeavePlan(String lmLeavePlanId)
          Fetch LeavePlan by id
 LeavePlan getLeavePlan(String leavePlan, Date asOfDate)
           
 List<LeavePlan> getLeavePlans(String leavePlan, String calendarYearStart, String descr, String planningMonths, Date fromEffdt, Date toEffdt, String active, String showHistory)
           
 List<LeavePlan> getLeavePlansNeedsCarryOverScheduled(int thresholdDays, Date asOfDate)
           
 org.joda.time.DateTime getRolloverDayOfLeavePlan(String leavePlan, Date asOfDate)
           
 boolean isFirstCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry, String leavePlan, Date asOfDate)
           
 boolean isLastCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry, String leavePlan, Date asOfDate)
           
 boolean isValidLeavePlan(String leavePlan)
           
 

Method Detail

getLeavePlan

@Cacheable(value="KPME/LeavePlan",
           key="\'lmLeavePlanId=\' + #p0")
LeavePlan getLeavePlan(String lmLeavePlanId)
Fetch LeavePlan by id

Parameters:
lmLeavePlanId -
Returns:

getLeavePlan

@Cacheable(value="KPME/LeavePlan",
           key="\'leavePlan=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
LeavePlan getLeavePlan(String leavePlan,
                                 Date asOfDate)

isValidLeavePlan

boolean isValidLeavePlan(String leavePlan)

getAllActiveLeavePlan

List<LeavePlan> getAllActiveLeavePlan(String leavePlan,
                                      Date asOfDate)

getAllInActiveLeavePlan

List<LeavePlan> getAllInActiveLeavePlan(String leavePlan,
                                        Date asOfDate)

getLeavePlans

List<LeavePlan> getLeavePlans(String leavePlan,
                              String calendarYearStart,
                              String descr,
                              String planningMonths,
                              Date fromEffdt,
                              Date toEffdt,
                              String active,
                              String showHistory)

isFirstCalendarPeriodOfLeavePlan

boolean isFirstCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry,
                                         String leavePlan,
                                         Date asOfDate)

isLastCalendarPeriodOfLeavePlan

boolean isLastCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry,
                                        String leavePlan,
                                        Date asOfDate)

getLeavePlansNeedsCarryOverScheduled

List<LeavePlan> getLeavePlansNeedsCarryOverScheduled(int thresholdDays,
                                                     Date asOfDate)

getFirstDayOfLeavePlan

org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan,
                                              Date date)

getRolloverDayOfLeavePlan

org.joda.time.DateTime getRolloverDayOfLeavePlan(String leavePlan,
                                                 Date asOfDate)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.