|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VCardProvider
Provider interface for users vcards.
| Method Summary | |
|---|---|
org.dom4j.Element |
createVCard(String username,
org.dom4j.Element vCardElement)
Creates and saves the new user vcard. |
void |
deleteVCard(String username)
Delets a user vcard. |
boolean |
isReadOnly()
Returns true if this VCardProvider is read-only. |
org.dom4j.Element |
loadVCard(String username)
Loads the specified user vcard by username. |
org.dom4j.Element |
updateVCard(String username,
org.dom4j.Element vCardElement)
Updates the user vcard in the backend store. |
| Method Detail |
|---|
org.dom4j.Element loadVCard(String username)
username - the username
org.dom4j.Element createVCard(String username,
org.dom4j.Element vCardElement)
throws AlreadyExistsException
username - the username.vCardElement - the vCard to save.
AlreadyExistsException - if the user already has a vCard.
UnsupportedOperationException - if the provider does not support the
operation.
org.dom4j.Element updateVCard(String username,
org.dom4j.Element vCardElement)
throws NotFoundException
username - the username.vCardElement - the vCard to save.
NotFoundException - if the vCard to update does not exist.
UnsupportedOperationException - if the provider does not support the
operation.void deleteVCard(String username)
username - the username to delete.
UnsupportedOperationException - if the provider does not support the
operation.boolean isReadOnly()
|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||