org.kuali.kpme.core.leaveplan.service
Class LeavePlanServiceImpl
java.lang.Object
org.kuali.kpme.core.leaveplan.service.LeavePlanServiceImpl
- All Implemented Interfaces:
- LeavePlanService
public class LeavePlanServiceImpl
- extends Object
- implements LeavePlanService
Method Summary |
List<LeavePlan> |
getAllActiveLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
List<LeavePlan> |
getAllInActiveLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
org.joda.time.DateTime |
getFirstDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
LeavePlan |
getLeavePlan(String lmLeavePlanId)
Fetch LeavePlan by id |
LeavePlan |
getLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
LeavePlanDao |
getLeavePlanDao()
|
List<LeavePlan> |
getLeavePlans(String leavePlan,
String calendarYearStart,
String descr,
String planningMonths,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String active,
String showHistory)
|
List<LeavePlan> |
getLeavePlansNeedsCarryOverScheduled(int thresholdDays,
org.joda.time.LocalDate asOfDate)
|
org.joda.time.DateTime |
getRolloverDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
boolean |
isFirstCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate asOfDate)
|
boolean |
isLastCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate 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 |
LeavePlanServiceImpl
public LeavePlanServiceImpl()
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,
org.joda.time.LocalDate 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,
org.joda.time.LocalDate asOfDate)
- Specified by:
getAllActiveLeavePlan
in interface LeavePlanService
getAllInActiveLeavePlan
public List<LeavePlan> getAllInActiveLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
- Specified by:
getAllInActiveLeavePlan
in interface LeavePlanService
getLeavePlans
public List<LeavePlan> getLeavePlans(String leavePlan,
String calendarYearStart,
String descr,
String planningMonths,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String active,
String showHistory)
- Specified by:
getLeavePlans
in interface LeavePlanService
isFirstCalendarPeriodOfLeavePlan
public boolean isFirstCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate asOfDate)
- Specified by:
isFirstCalendarPeriodOfLeavePlan
in interface LeavePlanService
isLastCalendarPeriodOfLeavePlan
public boolean isLastCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate asOfDate)
- Specified by:
isLastCalendarPeriodOfLeavePlan
in interface LeavePlanService
getFirstDayOfLeavePlan
public org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
- Specified by:
getFirstDayOfLeavePlan
in interface LeavePlanService
getRolloverDayOfLeavePlan
public org.joda.time.DateTime getRolloverDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
- Specified by:
getRolloverDayOfLeavePlan
in interface LeavePlanService
getLeavePlansNeedsCarryOverScheduled
public List<LeavePlan> getLeavePlansNeedsCarryOverScheduled(int thresholdDays,
org.joda.time.LocalDate asOfDate)
- Specified by:
getLeavePlansNeedsCarryOverScheduled
in interface LeavePlanService
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.