org.kuali.kpme.core.calendar.service
Interface CalendarService

All Known Implementing Classes:
CalendarServiceImpl

public interface CalendarService


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)
           
 

Method Detail

getCalendar

@Cacheable(value="http://kpme.kuali.org/core/Calendar",
           key="\'hrCalendarId=\' + #p0")
Calendar getCalendar(String hrCalendarId)
Fetch a pay calendar with the given id

Parameters:
hrCalendarId -
Returns:

getCalendarByGroup

@Cacheable(value="http://kpme.kuali.org/core/Calendar",
           key="\'calendarName=\' + #p0")
Calendar getCalendarByGroup(String calendarName)
Fetch a pay calendar by group

Parameters:
calendarName -
Returns:

getCalendarByPrincipalIdAndDate

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

Parameters:
principalId -
asOfDate -
Returns:

getCalendarByPrincipalIdAndDate

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

Parameters:
principalId -
beginDate -
endDate -
Returns:

getCalendarByName

Calendar getCalendarByName(String calendarName)

getCalendars

List<Calendar> getCalendars(String calendarName,
                            String calendarTypes,
                            String flsaBeginDay,
                            String flsaBeginTime)


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