public class CalendarICalDataHandler extends java.lang.Object implements CalendarDataHandler
Constructor and Description |
---|
CalendarICalDataHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
exportCalendar(long calendarId) |
java.lang.String |
exportCalendarBooking(long calendarBookingId) |
void |
importCalendar(long calendarId,
java.lang.String data) |
protected void |
importICalEvent(long calendarId,
net.fortuna.ical4j.model.component.VEvent vEvent) |
protected boolean |
isActionSupported(java.lang.String value) |
protected boolean |
isICalDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty) |
protected net.fortuna.ical4j.model.component.VAlarm |
toICalAlarm(NotificationType notificationType,
long reminder,
java.lang.String emailAddress) |
protected net.fortuna.ical4j.model.property.Attendee |
toICalAttendee(java.lang.String fullName,
java.lang.String emailAddress,
int status) |
protected net.fortuna.ical4j.model.Calendar |
toICalCalendar(java.util.List<CalendarBooking> calendarBookings) |
protected net.fortuna.ical4j.model.DateTime |
toICalDateTime(long time) |
protected net.fortuna.ical4j.model.Dur |
toICalDur(long reminder) |
protected net.fortuna.ical4j.model.component.VEvent |
toICalEvent(CalendarBooking calendarBooking) |
protected net.fortuna.ical4j.model.property.ExDate |
toICalExDate(Recurrence recurrence) |
protected java.lang.String |
toString(net.fortuna.ical4j.model.Calendar iCalCalendar) |
public java.lang.String exportCalendar(long calendarId) throws java.lang.Exception
exportCalendar
in interface CalendarDataHandler
java.lang.Exception
public java.lang.String exportCalendarBooking(long calendarBookingId) throws java.lang.Exception
exportCalendarBooking
in interface CalendarDataHandler
java.lang.Exception
public void importCalendar(long calendarId, java.lang.String data) throws java.lang.Exception
importCalendar
in interface CalendarDataHandler
java.lang.Exception
protected void importICalEvent(long calendarId, net.fortuna.ical4j.model.component.VEvent vEvent) throws java.lang.Exception
java.lang.Exception
protected boolean isActionSupported(java.lang.String value)
protected boolean isICalDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
protected net.fortuna.ical4j.model.component.VAlarm toICalAlarm(NotificationType notificationType, long reminder, java.lang.String emailAddress)
protected net.fortuna.ical4j.model.property.Attendee toICalAttendee(java.lang.String fullName, java.lang.String emailAddress, int status)
protected net.fortuna.ical4j.model.Calendar toICalCalendar(java.util.List<CalendarBooking> calendarBookings) throws java.lang.Exception
java.lang.Exception
protected net.fortuna.ical4j.model.DateTime toICalDateTime(long time)
protected net.fortuna.ical4j.model.Dur toICalDur(long reminder)
protected net.fortuna.ical4j.model.component.VEvent toICalEvent(CalendarBooking calendarBooking) throws java.lang.Exception
java.lang.Exception
protected net.fortuna.ical4j.model.property.ExDate toICalExDate(Recurrence recurrence)
protected java.lang.String toString(net.fortuna.ical4j.model.Calendar iCalCalendar) throws java.lang.Exception
java.lang.Exception