public class CalendarICalDataHandler
extends java.lang.Object
implements com.liferay.calendar.exporter.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(com.liferay.calendar.notification.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<com.liferay.calendar.model.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(com.liferay.calendar.model.CalendarBooking calendarBooking) |
protected net.fortuna.ical4j.model.property.ExDate |
toICalExDate(com.liferay.calendar.recurrence.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 com.liferay.calendar.exporter.CalendarDataHandlerjava.lang.Exceptionpublic java.lang.String exportCalendarBooking(long calendarBookingId)
throws java.lang.Exception
exportCalendarBooking in interface com.liferay.calendar.exporter.CalendarDataHandlerjava.lang.Exceptionpublic void importCalendar(long calendarId,
java.lang.String data)
throws java.lang.Exception
importCalendar in interface com.liferay.calendar.exporter.CalendarDataHandlerjava.lang.Exceptionprotected void importICalEvent(long calendarId,
net.fortuna.ical4j.model.component.VEvent vEvent)
throws java.lang.Exception
java.lang.Exceptionprotected boolean isActionSupported(java.lang.String value)
protected boolean isICalDateOnly(net.fortuna.ical4j.model.property.DateProperty dateProperty)
protected net.fortuna.ical4j.model.component.VAlarm toICalAlarm(com.liferay.calendar.notification.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<com.liferay.calendar.model.CalendarBooking> calendarBookings)
throws java.lang.Exception
java.lang.Exceptionprotected 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(com.liferay.calendar.model.CalendarBooking calendarBooking)
throws java.lang.Exception
java.lang.Exceptionprotected net.fortuna.ical4j.model.property.ExDate toICalExDate(com.liferay.calendar.recurrence.Recurrence recurrence)
protected java.lang.String toString(net.fortuna.ical4j.model.Calendar iCalCalendar)
throws java.lang.Exception
java.lang.Exception