org.kuali.hr.time.holidaycalendar.service
Class HolidayCalendarServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.holidaycalendar.service.HolidayCalendarServiceImpl
All Implemented Interfaces:
HolidayCalendarService

public class HolidayCalendarServiceImpl
extends Object
implements HolidayCalendarService


Constructor Summary
HolidayCalendarServiceImpl()
           
 
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
 HolidayCalendarDao getHolidayCalendarDao()
           
 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
 void setHolidayCalendarDao(HolidayCalendarDao holidayCalendarDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HolidayCalendarServiceImpl

public HolidayCalendarServiceImpl()
Method Detail

getHolidayCalendarByGroup

public HolidayCalendar getHolidayCalendarByGroup(String holidayCalendarGroup)
Description copied from interface: HolidayCalendarService
Fetch holiday calendar group

Specified by:
getHolidayCalendarByGroup in interface HolidayCalendarService
Returns:

getHolidayCalendarDao

public HolidayCalendarDao getHolidayCalendarDao()

setHolidayCalendarDao

public void setHolidayCalendarDao(HolidayCalendarDao holidayCalendarDao)

getHolidayCalendarDateEntriesForPayPeriod

public List<HolidayCalendarDateEntry> getHolidayCalendarDateEntriesForPayPeriod(String hrHolidayCalendarId,
                                                                                Date startDate,
                                                                                Date endDate)
Description copied from interface: HolidayCalendarService
Fetch List of HolidayCalendarDateEntry for a given pay periods start and end date

Specified by:
getHolidayCalendarDateEntriesForPayPeriod in interface HolidayCalendarService
Returns:

getHolidayCalendarDateEntryByDate

public HolidayCalendarDateEntry getHolidayCalendarDateEntryByDate(String hrHolidayCalendarId,
                                                                  Date startDate)
Description copied from interface: HolidayCalendarService
Fetch a HolidayCalendarDateEntry for a given hrHolidayCalendarId and date

Specified by:
getHolidayCalendarDateEntryByDate in interface HolidayCalendarService
Returns:

getAssignmentToApplyHolidays

public Assignment getAssignmentToApplyHolidays(TimesheetDocument timesheetDocument,
                                               Date payEndDate)
Description copied from interface: HolidayCalendarService
Get Assignment to apply to holidays

Specified by:
getAssignmentToApplyHolidays in interface HolidayCalendarService
Returns:

calculateHolidayHours

public BigDecimal calculateHolidayHours(Job job,
                                        BigDecimal holidayHours)
Description copied from interface: HolidayCalendarService
Calculate the total of holiday hours for a given Job and holiday hours

Specified by:
calculateHolidayHours in interface HolidayCalendarService
Returns:


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