org.kuali.kpme.core.calendar.service
Class CalendarServiceImpl

java.lang.Object
  extended by org.kuali.kpme.core.calendar.service.CalendarServiceImpl
All Implemented Interfaces:
CalendarService

public class CalendarServiceImpl
extends Object
implements CalendarService


Constructor Summary
CalendarServiceImpl()
           
 
Method Summary
 Calendar getCalendar(String hrCalendarId)
          Fetch a pay calendar with the given id
 Calendar getCalendarByGroup(String calendarName)
          Fetch a pay calendar by group
 Calendar getCalendarByName(String calendarName)
           
 Calendar getCalendarByPrincipalIdAndDate(String principalId, org.joda.time.LocalDate asOfDate, boolean findLeaveCal)
          Fetch a pay calendar with the given principalId and date, returns null if none found
 Calendar getCalendarByPrincipalIdAndDate(String principalId, org.joda.time.LocalDate beginDate, org.joda.time.LocalDate endDate, boolean findLeaveCal)
          Fetch a pay calendar with the given principalId, begin and end date, returns null if none found
 List<Calendar> getCalendars(String calendarName, String calendarTypes, String flsaBeginDay, String flsaBeginTime)
           
 void setCalendarDao(CalendarDao calendarDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarServiceImpl

public CalendarServiceImpl()
Method Detail

setCalendarDao

public void setCalendarDao(CalendarDao calendarDao)

getCalendar

public Calendar getCalendar(String hrCalendarId)
Description copied from interface: CalendarService
Fetch a pay calendar with the given id

Specified by:
getCalendar in interface CalendarService
Returns:

getCalendarByGroup

public Calendar getCalendarByGroup(String calendarName)
Description copied from interface: CalendarService
Fetch a pay calendar by group

Specified by:
getCalendarByGroup in interface CalendarService
Returns:

getCalendarByPrincipalIdAndDate

public Calendar getCalendarByPrincipalIdAndDate(String principalId,
                                                org.joda.time.LocalDate beginDate,
                                                org.joda.time.LocalDate endDate,
                                                boolean findLeaveCal)
Description copied from interface: CalendarService
Fetch a pay calendar with the given principalId, begin and end date, returns null if none found

Specified by:
getCalendarByPrincipalIdAndDate in interface CalendarService
Returns:

getCalendarByPrincipalIdAndDate

public Calendar getCalendarByPrincipalIdAndDate(String principalId,
                                                org.joda.time.LocalDate asOfDate,
                                                boolean findLeaveCal)
Description copied from interface: CalendarService
Fetch a pay calendar with the given principalId and date, returns null if none found

Specified by:
getCalendarByPrincipalIdAndDate in interface CalendarService
Returns:

getCalendars

public List<Calendar> getCalendars(String calendarName,
                                   String calendarTypes,
                                   String flsaBeginDay,
                                   String flsaBeginTime)
Specified by:
getCalendars in interface CalendarService

getCalendarByName

public Calendar getCalendarByName(String calendarName)
Specified by:
getCalendarByName in interface CalendarService


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