Class RecurringEventImpl
java.lang.Object
ch.tocco.nice2.optional.calendar.impl.ical.CalendarEventImpl
ch.tocco.nice2.optional.calendar.impl.ical.recur.RecurringEventImpl
- All Implemented Interfaces:
CalendarEvent
,RecurringEvent
,CalendarAware
,Cloneable
,Comparable<CalendarEvent>
- Direct Known Subclasses:
FullDayRecurringEvent
-
Field Summary
Fields inherited from class ch.tocco.nice2.optional.calendar.impl.ical.CalendarEventImpl
calendarDao
-
Constructor Summary
ConstructorDescriptionRecurringEventImpl
(CalendarEvent def, RecurrenceInfo recInfo, CalendarDao calendarDao) RecurringEventImpl
(DateTimeValue startTime, @Nullable DateTimeValue endTime, String summary, RecurrenceInfo recurrenceInfo, CalendarDao calendarDao, String location) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a deep copy of this event.boolean
int
hashCode()
resolveRecurrence
(DateTimeValue start, DateTimeValue end) void
Returns this event without any recurrence information.toRecurringEvent
(Recurrence recurrence) "Raises" this event to a recurring event using the specified recurrence.toRecurringEvent
(RecurrenceInfo recurrenceInfo) "Raises" this event to a recurring event using the specified recurrence information.toString()
Methods inherited from class ch.tocco.nice2.optional.calendar.impl.ical.CalendarEventImpl
checkStartEndTimes, compareTo, created, getCalendar, getDescription, getEnd, getEntity, getId, getLabel, getLocation, getOnlineMeetingUrl, getStart, getTargetEntity, getTargetEntity, getTimeZone, isAllDay, isOccurrence, resolveRelation, resolveRelation, save, saveAndLink, saveAndLink, saveAndRelateCalendar, setCalendar, setCreated, setDescription, setEnd, setId, setLabel, setLocation, setOccurrence, setOnlineMeetingUrl, setStart, setStartAndEnd
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.calendar.api.CalendarEvent
created, getCalendar, getDescription, getEnd, getEntity, getId, getLabel, getLocation, getOnlineMeetingUrl, getStart, getTargetEntity, getTargetEntity, getTimeZone, isAllDay, isOccurrence, resolveRelation, resolveRelation, save, saveAndLink, saveAndLink, saveAndRelateCalendar, setDescription, setEnd, setLabel, setLocation, setOccurrence, setOnlineMeetingUrl, setStart, setStartAndEnd
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
RecurringEventImpl
public RecurringEventImpl(DateTimeValue startTime, @Nullable @Nullable DateTimeValue endTime, String summary, RecurrenceInfo recurrenceInfo, CalendarDao calendarDao, String location) -
RecurringEventImpl
-
-
Method Details
-
clone
Description copied from interface:CalendarEvent
Creates a deep copy of this event.- Specified by:
clone
in interfaceCalendarEvent
- Specified by:
clone
in interfaceRecurringEvent
- Overrides:
clone
in classCalendarEventImpl
- Throws:
CloneNotSupportedException
-
setRecurrenceInfo
- Specified by:
setRecurrenceInfo
in interfaceRecurringEvent
-
toCalendarEvent
Description copied from interface:RecurringEvent
Returns this event without any recurrence information.- Specified by:
toCalendarEvent
in interfaceRecurringEvent
-
toRecurringEvent
Description copied from interface:CalendarEvent
"Raises" this event to a recurring event using the specified recurrence information.- Specified by:
toRecurringEvent
in interfaceCalendarEvent
- Overrides:
toRecurringEvent
in classCalendarEventImpl
-
toRecurringEvent
Description copied from interface:CalendarEvent
"Raises" this event to a recurring event using the specified recurrence.- Specified by:
toRecurringEvent
in interfaceCalendarEvent
- Overrides:
toRecurringEvent
in classCalendarEventImpl
-
getRecurrenceInfo
- Specified by:
getRecurrenceInfo
in interfaceRecurringEvent
-
resolveRecurrence
- Specified by:
resolveRecurrence
in interfaceRecurringEvent
-
resolveRecurrence
- Specified by:
resolveRecurrence
in interfaceRecurringEvent
-
equals
- Overrides:
equals
in classCalendarEventImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCalendarEventImpl
-
toString
- Overrides:
toString
in classCalendarEventImpl
-