Package net.fortuna.ical4j.connector
Interface CardCollection
-
- All Superinterfaces:
ObjectCollection<net.fortuna.ical4j.vcard.VCard>
- All Known Implementing Classes:
CardDavCollection
,JcrCardCollection
,LocalCardCollection
public interface CardCollection extends ObjectCollection<net.fortuna.ical4j.vcard.VCard>
$Id$ Created on 27/09/2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addCard(net.fortuna.ical4j.vcard.VCard card)
net.fortuna.ical4j.vcard.VCard
removeCard(String uid)
Remove an existing card from the collection.-
Methods inherited from interface net.fortuna.ical4j.connector.ObjectCollection
getComponents, getDescription, getDisplayName
-
-
-
-
Method Detail
-
addCard
void addCard(net.fortuna.ical4j.vcard.VCard card) throws ObjectStoreException, ConstraintViolationException
- Parameters:
card
- a vCard object instance- Throws:
ObjectStoreException
- where an unexpected error occursConstraintViolationException
- where the specified object is not valid
-
removeCard
net.fortuna.ical4j.vcard.VCard removeCard(String uid) throws ObjectNotFoundException, FailedOperationException
Remove an existing card from the collection.- Parameters:
uid
- the uid of the existing card- Returns:
- the card object that was removed from the collection
- Throws:
ObjectNotFoundException
FailedOperationException
-
-