|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.vcard.DefaultVCardProvider
public class DefaultVCardProvider
Default implementation of the VCardProvider interface, which reads and writes data from the jiveVCard database table.
| Constructor Summary | |
|---|---|
DefaultVCardProvider()
|
|
| Method Summary | |
|---|---|
void |
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. |
void |
updateVCard(String username,
org.dom4j.Element vCardElement)
Updates the user vcard in the backend store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultVCardProvider()
| Method Detail |
|---|
public org.dom4j.Element loadVCard(String username)
VCardProvider
loadVCard in interface VCardProviderusername - the username
public void createVCard(String username,
org.dom4j.Element vCardElement)
throws AlreadyExistsException
VCardProvider
createVCard in interface VCardProviderusername - the username.vCardElement - the vCard to save.
AlreadyExistsException - if the user already has a vCard.
public void updateVCard(String username,
org.dom4j.Element vCardElement)
throws NotFoundException
VCardProvider
updateVCard in interface VCardProviderusername - the username.vCardElement - the vCard to save.
NotFoundException - if the vCard to update does not exist.public void deleteVCard(String username)
VCardProvider
deleteVCard in interface VCardProviderusername - the username to delete.public boolean isReadOnly()
VCardProvider
isReadOnly in interface VCardProvider
|
Openfire 3.3.0 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||