org.kuali.hr.time.holidaycalendar.service
Interface HolidayCalendarService

All Known Implementing Classes:
HolidayCalendarServiceImpl

public interface HolidayCalendarService


Method Summary
 BigDecimal calculateHolidayHours(Job job, BigDecimal holidayHours)
          Calculate the total of holiday hours for a given Job and holiday hours
 Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument, Date payEndDate)
          Get Assignment to apply to holidays
 HolidayCalendar getHolidayCalendarByGroup(String holidayCalendarGroup)
          Fetch holiday calendar group
 List<HolidayCalendarDateEntry> getHolidayCalendarDateEntriesForPayPeriod(String hrHolidayCalendarId, Date startDate, Date endDate)
          Fetch List of HolidayCalendarDateEntry for a given pay periods start and end date
 HolidayCalendarDateEntry getHolidayCalendarDateEntryByDate(String hrHolidayCalendarId, Date startDate)
          Fetch a HolidayCalendarDateEntry for a given hrHolidayCalendarId and date
 

Method Detail

getHolidayCalendarByGroup

@Cacheable(value="KPME/HolidayCalendar",
           key="\'holidayCalendarGroup=\' + #p0")
HolidayCalendar getHolidayCalendarByGroup(String holidayCalendarGroup)
Fetch holiday calendar group

Parameters:
holidayCalendarGroup -
Returns:

getHolidayCalendarDateEntriesForPayPeriod

@Cacheable(value="KPME/HolidayCalendar",
           key="\'hrHolidayCalendarId=\' + #p0+ \'|\' + \'startDate=\' + #p1+ \'|\' + \'endDate=\' + #p2")
List<HolidayCalendarDateEntry> getHolidayCalendarDateEntriesForPayPeriod(String hrHolidayCalendarId,
                                                                                   Date startDate,
                                                                                   Date endDate)
Fetch List of HolidayCalendarDateEntry for a given pay periods start and end date

Parameters:
hrHolidayCalendarId -
startDate -
endDate -
Returns:

getHolidayCalendarDateEntryByDate

@Cacheable(value="KPME/HolidayCalendar",
           key="\'hrHolidayCalendarId=\' + #p0 + \'|\' + \'startDate=\' + #p1")
HolidayCalendarDateEntry getHolidayCalendarDateEntryByDate(String hrHolidayCalendarId,
                                                                     Date startDate)
Fetch a HolidayCalendarDateEntry for a given hrHolidayCalendarId and date

Parameters:
hrHolidayCalendarId -
date -
Returns:

getAssignmentToApplyHolidays

Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument,
                                        Date payEndDate)
Get Assignment to apply to holidays

Parameters:
timesheetDocument -
payEndDate -
Returns:

calculateHolidayHours

BigDecimal calculateHolidayHours(Job job,
                                 BigDecimal holidayHours)
Calculate the total of holiday hours for a given Job and holiday hours

Parameters:
job -
holidayHours -
Returns:


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