net.fortuna.ical4j.connector.jcr
public class JcrCalendarCollection extends AbstractJcrObjectCollection<net.fortuna.ical4j.model.Calendar> implements CalendarCollection
| Constructor and Description |
|---|
JcrCalendarCollection() |
| 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.
|
net.fortuna.ical4j.model.Calendar[] |
getComponents()
Returns all objects stored in the collection.
|
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) |
getCollectionName, getDescription, getDisplayName, getNode, getStore, setCollectionName, setDescription, setDisplayName, setStoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getDisplayNamepublic void addCalendar(net.fortuna.ical4j.model.Calendar calendar)
throws ObjectStoreException,
net.fortuna.ical4j.model.ConstraintViolationException
addCalendar in interface CalendarCollectioncalendar - 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)public net.fortuna.ical4j.model.Calendar export()
throws ObjectStoreException
export in interface CalendarCollectionObjectStoreException - where an unexpected error occurspublic net.fortuna.ical4j.model.Calendar getCalendar(String uid)
getCalendar in interface CalendarCollectionuid - the UID associated with the returned calendarpublic net.fortuna.ical4j.model.Calendar[] getComponents()
throws ObjectStoreException
getComponents in interface ObjectCollection<net.fortuna.ical4j.model.Calendar>ObjectStoreException - where an unexpected error occurspublic Integer getMaxAttendeesPerInstance()
getMaxAttendeesPerInstance in interface CalendarCollectionpublic String getMaxDateTime()
getMaxDateTime in interface CalendarCollectionpublic Integer getMaxInstances()
getMaxInstances in interface CalendarCollectionpublic long getMaxResourceSize()
getMaxResourceSize in interface CalendarCollectionpublic String getMinDateTime()
getMinDateTime in interface CalendarCollectionpublic String[] getSupportedComponentTypes()
getSupportedComponentTypes in interface CalendarCollectionpublic MediaType[] getSupportedMediaTypes()
getSupportedMediaTypes in interface CalendarCollectionpublic net.fortuna.ical4j.model.Calendar getTimeZone()
getTimeZone in interface CalendarCollectionpublic net.fortuna.ical4j.model.Calendar removeCalendar(String uid) throws ObjectStoreException
removeCalendar in interface CalendarCollectionuid - the UID of the calendar to removeObjectStoreException - where an unexpected error occurspublic void merge(net.fortuna.ical4j.model.Calendar calendar)
throws FailedOperationException,
ObjectStoreException
merge in interface CalendarCollectioncalendar - a calendar object instance to merge into the collectionFailedOperationException - where the merge operation failsObjectStoreExceptionCopyright © 2008-2013 Micronode. All Rights Reserved.