net.fortuna.ical4j.connector.dav
public class CardDavCollection extends AbstractDavObjectCollection<net.fortuna.ical4j.vcard.VCard> implements CardCollection
properties
Modifier and Type | Method and Description |
---|---|
void |
addCard(net.fortuna.ical4j.vcard.VCard card) |
protected static List<CardDavCollection> |
collectionsFromResponse(CardDavStore store,
org.apache.jackrabbit.webdav.MultiStatusResponse[] responses) |
net.fortuna.ical4j.model.Calendar |
export() |
net.fortuna.ical4j.vcard.VCard[] |
getComponents()
Returns all objects stored in the collection.
|
String |
getDescription() |
String |
getDisplayName()
Human-readable name of the collection.
|
long |
getMaxResourceSize()
Provides a numeric value indicating the maximum size of a resource in octets that the server is willing to accept
when a calendar object resource is stored in a calendar collection.
|
static org.apache.jackrabbit.webdav.property.DavPropertyNameSet |
propertiesForFetch() |
collectionsFromResponse, delete, exists, getId, getOwnerHref, getOwnerName, getPath, getProperty, getQuotaAvailableBytes, getQuotaUsedBytes, getResourceTypes, getStore, getSupportedMediaTypes, isReadOnly, setReadOnly
public String getDisplayName()
getDisplayName
in interface ObjectCollection<net.fortuna.ical4j.vcard.VCard>
public long getMaxResourceSize()
public net.fortuna.ical4j.model.Calendar export() throws ObjectStoreException
ObjectStoreException
public static final org.apache.jackrabbit.webdav.property.DavPropertyNameSet propertiesForFetch()
protected static List<CardDavCollection> collectionsFromResponse(CardDavStore store, org.apache.jackrabbit.webdav.MultiStatusResponse[] responses)
public String getDescription()
getDescription
in interface ObjectCollection<net.fortuna.ical4j.vcard.VCard>
public net.fortuna.ical4j.vcard.VCard[] getComponents() throws ObjectStoreException
ObjectCollection
getComponents
in interface ObjectCollection<net.fortuna.ical4j.vcard.VCard>
ObjectStoreException
- where an unexpected error occurspublic void addCard(net.fortuna.ical4j.vcard.VCard card) throws ObjectStoreException, net.fortuna.ical4j.model.ConstraintViolationException
addCard
in interface CardCollection
card
- a vCard object instanceObjectStoreException
- where an unexpected error occursnet.fortuna.ical4j.model.ConstraintViolationException
- where the specified object is not validCopyright © 2008-2013 Micronode. All Rights Reserved.