public interface ExternalCalendaringService
Tools and services can leverage this to generate an ICS file for an event, as well as make updates. Ref: http://www.ietf.org/rfc/rfc2445.txt
| Modifier and Type | Method and Description |
|---|---|
net.fortuna.ical4j.model.component.VEvent |
addAttendeesToEvent(net.fortuna.ical4j.model.component.VEvent vevent,
Set<User> attendees)
Adds a list of attendees to an existing VEvent.
|
net.fortuna.ical4j.model.component.VEvent |
addChairAttendeesToEvent(net.fortuna.ical4j.model.component.VEvent vevent,
Set<User> attendees)
Adds a list of attendees to an existing VEvent with the chair role.
|
net.fortuna.ical4j.model.component.VEvent |
cancelEvent(net.fortuna.ical4j.model.component.VEvent vevent)
Set the status of an existing VEvent to cancelled.
|
net.fortuna.ical4j.model.Calendar |
createCalendar(List<net.fortuna.ical4j.model.component.VEvent> events)
Creates an iCal calendar from a list of VEvents.
|
net.fortuna.ical4j.model.Calendar |
createCalendar(List<net.fortuna.ical4j.model.component.VEvent> events,
String method,
boolean timeIsLocal)
Creates an iCal calendar from a list of VEvents with a specified method.
|
net.fortuna.ical4j.model.component.VEvent |
createEvent(CalendarEvent event)
Creates an iCal VEvent for a Sakai CalendarEvent.
|
net.fortuna.ical4j.model.component.VEvent |
createEvent(CalendarEvent event,
Set<User> attendees)
Creates an iCal VEvent for a Sakai CalendarEvent with the given attendees.
|
net.fortuna.ical4j.model.component.VEvent |
createEvent(CalendarEvent event,
Set<User> attendees,
boolean timeIsLocal)
Creates an iCal VEvent for a Sakai CalendarEvent with the given attendees.
|
boolean |
isIcsEnabled()
Is the ICS service enabled?
|
String |
toFile(net.fortuna.ical4j.model.Calendar calendar)
Write an iCal calendar out to a file in the filesystem and return the path.
|
net.fortuna.ical4j.model.component.VEvent createEvent(CalendarEvent event)
event - Sakai CalendarEventnet.fortuna.ical4j.model.component.VEvent createEvent(CalendarEvent event, Set<User> attendees)
event - Sakai CalendarEventattendees - set of Users that have been invited to the eventnet.fortuna.ical4j.model.component.VEvent createEvent(CalendarEvent event, Set<User> attendees, boolean timeIsLocal)
event - Sakai CalendarEventattendees - set of Users that have been invited to the eventnet.fortuna.ical4j.model.component.VEvent addAttendeesToEvent(net.fortuna.ical4j.model.component.VEvent vevent,
Set<User> attendees)
vevent - The VEvent to add the attendess tooattendees - set of Users that have been invited to the eventnet.fortuna.ical4j.model.component.VEvent addChairAttendeesToEvent(net.fortuna.ical4j.model.component.VEvent vevent,
Set<User> attendees)
vevent - The VEvent to add the attendess tooattendees - set of Users that will chair the eventnet.fortuna.ical4j.model.component.VEvent cancelEvent(net.fortuna.ical4j.model.component.VEvent vevent)
vevent - The VEvent to cancelnet.fortuna.ical4j.model.Calendar createCalendar(List<net.fortuna.ical4j.model.component.VEvent> events)
events - iCal VEventsnet.fortuna.ical4j.model.Calendar createCalendar(List<net.fortuna.ical4j.model.component.VEvent> events, String method, boolean timeIsLocal)
events - iCal VEventsmethod - the ITIP method for the calendar, e.g. "REQUEST"String toFile(net.fortuna.ical4j.model.Calendar calendar)
calendar - iCal calendar objectboolean isIcsEnabled()
Copyright © 2003–2020 Sakai Project. All rights reserved.