|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
getCalendarByPrincipalIdAndDate(String principalId,
Date asOfDate)
Fetch a pay calendar with the given principalId and date, returns null if none found |
CalendarEntries |
getCalendarDatesByPayEndDate(String principalId,
Date payEndDate,
String calendarType)
A method to use specifically when you have a Timesheet Documents Pay Period end date. |
List<Calendar> |
getCalendars(String calendarName,
String flsaBeginDay,
String flsaBeginTime)
|
CalendarEntries |
getCurrentCalendarDates(String principalId,
Date currentDate)
Use this method to get CalendarEntries if you are passing in a "current date" style of date, ie todays date. |
CalendarEntries |
getPreviousCalendarEntry(String tkCalendarId,
Date beginDateCurrentCalendar)
Returns the Pay CalendarEntry for previous pay calendar |
Method Detail |
---|
@Cacheable(value="KPME/Calendar", key="\'hrCalendarId=\' + #p0") Calendar getCalendar(String hrCalendarId)
hrCalendarId
-
@Cacheable(value="KPME/Calendar", key="\'calendarName=\' + #p0") Calendar getCalendarByGroup(String calendarName)
calendarName
-
CalendarEntries getCurrentCalendarDates(String principalId, Date currentDate)
principalId
- currentDate
-
@Cacheable(value="KPME/Calendar", key="\'principalId=\' + #p0 + \'|\' + \'payEndDate=\' + #p1 + \'|\' + \'calendarType=\' + #p2") CalendarEntries getCalendarDatesByPayEndDate(String principalId, Date payEndDate, String calendarType)
principalId
- payEndDate
-
@Cacheable(value="KPME/Calendar", key="\'tkCalendarId=\' + #p0 + \'|\' + \'beginDateCurrentCalendar=\' + #p1") CalendarEntries getPreviousCalendarEntry(String tkCalendarId, Date beginDateCurrentCalendar)
tkCalendarId
- beginDateCurrentCalendar
-
Calendar getCalendarByPrincipalIdAndDate(String principalId, Date asOfDate)
principalId
- asOfDate
-
List<Calendar> getCalendars(String calendarName, String flsaBeginDay, String flsaBeginTime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |