net.fortuna.ical4j.connector
public interface CalendarCollection extends ObjectCollection<net.fortuna.ical4j.model.Calendar>
Modifier and Type | Method and Description |
---|---|
void |
addCalendar(net.fortuna.ical4j.model.Calendar calendar)
Stores the specified calendar in this collection.
|
net.fortuna.ical4j.model.Calendar |
export()
Exports the entire collection as a single calendar object.
|
net.fortuna.ical4j.model.Calendar |
getCalendar(String uid)
Returns the calendar object with the specified UID.
|
Integer |
getMaxAttendeesPerInstance() |
String |
getMaxDateTime() |
Integer |
getMaxInstances() |
long |
getMaxResourceSize() |
String |
getMinDateTime() |
String[] |
getSupportedComponentTypes() |
MediaType[] |
getSupportedMediaTypes() |
net.fortuna.ical4j.model.Calendar |
getTimeZone() |
void |
merge(net.fortuna.ical4j.model.Calendar calendar)
Merges the specified calendar object with this collecton.
|
net.fortuna.ical4j.model.Calendar |
removeCalendar(String uid) |
getComponents, getDescription, getDisplayName
net.fortuna.ical4j.model.Calendar getTimeZone()
String[] getSupportedComponentTypes()
MediaType[] getSupportedMediaTypes()
long getMaxResourceSize()
String getMinDateTime()
String getMaxDateTime()
Integer getMaxInstances()
Integer getMaxAttendeesPerInstance()
void addCalendar(net.fortuna.ical4j.model.Calendar calendar) throws ObjectStoreException, net.fortuna.ical4j.model.ConstraintViolationException
calendar
- a calendar object instance to be added to the collectionObjectStoreException
- when an unexpected error occurs (implementation-specific)net.fortuna.ical4j.model.ConstraintViolationException
- if the specified calendar has no single unique identifier (UID)net.fortuna.ical4j.model.Calendar getCalendar(String uid)
uid
- the UID associated with the returned calendarnet.fortuna.ical4j.model.Calendar removeCalendar(String uid) throws FailedOperationException, ObjectStoreException
uid
- the UID of the calendar to removeObjectStoreException
- where an unexpected error occursFailedOperationException
void merge(net.fortuna.ical4j.model.Calendar calendar) throws FailedOperationException, ObjectStoreException
calendar
- a calendar object instance to merge into the collectionFailedOperationException
- where the merge operation failsObjectStoreException
net.fortuna.ical4j.model.Calendar export() throws ObjectStoreException
ObjectStoreException
- where an unexpected error occursCopyright © 2008-2013 Micronode. All Rights Reserved.