org.kuali.hr.lm.leaveplan.service
Class LeavePlanServiceImpl

java.lang.Object
  extended by org.kuali.hr.lm.leaveplan.service.LeavePlanServiceImpl
All Implemented Interfaces:
LeavePlanService

public class LeavePlanServiceImpl
extends Object
implements LeavePlanService


Constructor Summary
LeavePlanServiceImpl()
           
 
Method Summary
 List<LeavePlan> getAllActiveLeavePlan(String leavePlan, Date asOfDate)
           
 List<LeavePlan> getAllInActiveLeavePlan(String leavePlan, Date asOfDate)
           
 org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan, Date asOfDate)
           
 LeavePlan getLeavePlan(String lmLeavePlanId)
          Fetch LeavePlan by id
 LeavePlan getLeavePlan(String leavePlan, Date asOfDate)
           
 LeavePlanDao getLeavePlanDao()
           
 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)
           
 void setLeavePlanDao(LeavePlanDao leavePlanDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeavePlanServiceImpl

public LeavePlanServiceImpl()
Method Detail

getLeavePlanDao

public LeavePlanDao getLeavePlanDao()

setLeavePlanDao

public void setLeavePlanDao(LeavePlanDao leavePlanDao)

getLeavePlan

public LeavePlan getLeavePlan(String lmLeavePlanId)
Description copied from interface: LeavePlanService
Fetch LeavePlan by id

Specified by:
getLeavePlan in interface LeavePlanService
Returns:

getLeavePlan

public LeavePlan getLeavePlan(String leavePlan,
                              Date asOfDate)
Specified by:
getLeavePlan in interface LeavePlanService

isValidLeavePlan

public boolean isValidLeavePlan(String leavePlan)
Specified by:
isValidLeavePlan in interface LeavePlanService

getAllActiveLeavePlan

public List<LeavePlan> getAllActiveLeavePlan(String leavePlan,
                                             Date asOfDate)
Specified by:
getAllActiveLeavePlan in interface LeavePlanService

getAllInActiveLeavePlan

public List<LeavePlan> getAllInActiveLeavePlan(String leavePlan,
                                               Date asOfDate)
Specified by:
getAllInActiveLeavePlan in interface LeavePlanService

getLeavePlans

public List<LeavePlan> getLeavePlans(String leavePlan,
                                     String calendarYearStart,
                                     String descr,
                                     String planningMonths,
                                     Date fromEffdt,
                                     Date toEffdt,
                                     String active,
                                     String showHistory)
Specified by:
getLeavePlans in interface LeavePlanService

isFirstCalendarPeriodOfLeavePlan

public boolean isFirstCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry,
                                                String leavePlan,
                                                Date asOfDate)
Specified by:
isFirstCalendarPeriodOfLeavePlan in interface LeavePlanService

isLastCalendarPeriodOfLeavePlan

public boolean isLastCalendarPeriodOfLeavePlan(CalendarEntries calendarEntry,
                                               String leavePlan,
                                               Date asOfDate)
Specified by:
isLastCalendarPeriodOfLeavePlan in interface LeavePlanService

getFirstDayOfLeavePlan

public org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan,
                                                     Date asOfDate)
Specified by:
getFirstDayOfLeavePlan in interface LeavePlanService

getRolloverDayOfLeavePlan

public org.joda.time.DateTime getRolloverDayOfLeavePlan(String leavePlan,
                                                        Date asOfDate)
Specified by:
getRolloverDayOfLeavePlan in interface LeavePlanService

getLeavePlansNeedsCarryOverScheduled

public List<LeavePlan> getLeavePlansNeedsCarryOverScheduled(int thresholdDays,
                                                            Date asOfDate)
Specified by:
getLeavePlansNeedsCarryOverScheduled in interface LeavePlanService


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