Class RecurringEventServiceImpl
java.lang.Object
ch.tocco.nice2.optional.calendar.impl.ical.recur.RecurringEventServiceImpl
- All Implemented Interfaces:
RecurringEventService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoCalendarEventList
(CalendarEvent calendarEvent, DateTimeValue startDateTimeValue, DateTimeValue endDateTimeValue) toCalendarEventList
(Entity calendarEvent, DateTimeValue startDateTimeValue, DateTimeValue endDateTimeValue) creates aCalendarEvent
for the given entity and then callsRecurringEventService.toCalendarEventList(CalendarEvent, DateTimeValue, DateTimeValue)
-
Constructor Details
-
RecurringEventServiceImpl
-
-
Method Details
-
toCalendarEventList
public List<CalendarEvent> toCalendarEventList(CalendarEvent calendarEvent, DateTimeValue startDateTimeValue, DateTimeValue endDateTimeValue) Description copied from interface:RecurringEventService
generates multipleCalendarEvent
from the providedCalendarEvent
if it is aRecurringEvent
. The returnedList
does only containCalendarEvent
s within the provided parameter boundaries ofstartDateTimeValue
andendDateTimeValue
.- Specified by:
toCalendarEventList
in interfaceRecurringEventService
- Parameters:
calendarEvent
- a recurring event. seeRecurringEvent
startDateTimeValue
- the lower boundaryendDateTimeValue
- the upper boundary- Returns:
- a resolved list of
CalendarEvent
s
-
toCalendarEventList
public List<CalendarEvent> toCalendarEventList(Entity calendarEvent, DateTimeValue startDateTimeValue, DateTimeValue endDateTimeValue) Description copied from interface:RecurringEventService
creates aCalendarEvent
for the given entity and then callsRecurringEventService.toCalendarEventList(CalendarEvent, DateTimeValue, DateTimeValue)
- Specified by:
toCalendarEventList
in interfaceRecurringEventService
- Parameters:
calendarEvent
- a Calendar_event entitystartDateTimeValue
- the lower boundaryendDateTimeValue
- the upper boundary- Returns:
- a resolved list of
CalendarEvent
s
-