org.kuali.kpme.core.leaveplan.service
Interface LeavePlanService
- All Known Implementing Classes:
- LeavePlanServiceImpl
public interface 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 date)
|
LeavePlan |
getLeavePlan(String lmLeavePlanId)
Fetch LeavePlan by id |
LeavePlan |
getLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
|
List<LeavePlan> |
getLeavePlans(List<String> leavePlan,
org.joda.time.LocalDate asOfDate)
|
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)
|
getLeavePlan
@Cacheable(value="http://kpme.kuali.org/core/LeavePlan",
key="\'lmLeavePlanId=\' + #p0")
LeavePlan getLeavePlan(String lmLeavePlanId)
- Fetch LeavePlan by id
- Parameters:
lmLeavePlanId
-
- Returns:
getLeavePlan
@Cacheable(value="http://kpme.kuali.org/core/LeavePlan",
key="\'leavePlan=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
LeavePlan getLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
getLeavePlans
@Cacheable(value="http://kpme.kuali.org/core/LeavePlan",
key="\'leavePlans=\' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).key(#p0) + \'|\' + \'asOfDate=\' + #p1")
List<LeavePlan> getLeavePlans(List<String> leavePlan,
org.joda.time.LocalDate asOfDate)
isValidLeavePlan
boolean isValidLeavePlan(String leavePlan)
getAllActiveLeavePlan
List<LeavePlan> getAllActiveLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
getAllInActiveLeavePlan
List<LeavePlan> getAllInActiveLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
getLeavePlans
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)
isFirstCalendarPeriodOfLeavePlan
boolean isFirstCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate asOfDate)
isLastCalendarPeriodOfLeavePlan
boolean isLastCalendarPeriodOfLeavePlan(CalendarEntry calendarEntry,
String leavePlan,
org.joda.time.LocalDate asOfDate)
getLeavePlansNeedsCarryOverScheduled
List<LeavePlan> getLeavePlansNeedsCarryOverScheduled(int thresholdDays,
org.joda.time.LocalDate asOfDate)
getFirstDayOfLeavePlan
@Cacheable(value="http://kpme.kuali.org/core/LeavePlan",
key="\'{getFirstDayOfLeavePlan}\' + \'leavePlan=\' + #p0 + \'|\' + \'date=\' + #p1")
org.joda.time.DateTime getFirstDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate date)
getRolloverDayOfLeavePlan
@Cacheable(value="http://kpme.kuali.org/core/LeavePlan",
key="\'{getRolloverDayOfLeavePlan}\' + \'leavePlan=\' + #p0 + \'|\' + \'date=\' + #p1")
org.joda.time.DateTime getRolloverDayOfLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.