|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.clearspace.ClearspaceVCardProvider
public class ClearspaceVCardProvider
The ClearspaceLockOutProvider uses the UserService web service inside of Clearspace to retrieve, edit and delete user information from Clearspace. With this information the provider builds user's VCard.
| Field Summary | |
|---|---|
protected static String |
AVATAR_URL_PREFIX
|
protected static String |
PROFILE_FIELDS_URL_PREFIX
|
protected static String |
PROFILE_URL_PREFIX
|
| Constructor Summary | |
|---|---|
ClearspaceVCardProvider()
|
|
| Method Summary | |
|---|---|
org.dom4j.Element |
createVCard(String username,
org.dom4j.Element vCardElement)
Creates the user's VCard. |
void |
deleteVCard(String username)
Deletes the profiles and avatar information of the user. |
boolean |
isReadOnly()
Always return false since Clearspace always support some changes. |
org.dom4j.Element |
loadVCard(String username)
Loads the VCard with information from CS. |
org.dom4j.Element |
updateVCard(String username,
org.dom4j.Element vCardElement)
Updates the user vcard in Clearspace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String PROFILE_URL_PREFIX
protected static final String PROFILE_FIELDS_URL_PREFIX
protected static final String AVATAR_URL_PREFIX
| Constructor Detail |
|---|
public ClearspaceVCardProvider()
| Method Detail |
|---|
public org.dom4j.Element loadVCard(String username)
loadVCard in interface VCardProviderusername - username of user to load VCard of
public org.dom4j.Element createVCard(String username,
org.dom4j.Element vCardElement)
throws AlreadyExistsException
createVCard in interface VCardProviderusername - the usernamevCardElement - the vCard to save.
AlreadyExistsException - it's never throw by this implementation
UnsupportedOperationException - if the provider does not support the
operation.
public org.dom4j.Element updateVCard(String username,
org.dom4j.Element vCardElement)
throws NotFoundException
updateVCard in interface VCardProviderusername - 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.public boolean isReadOnly()
isReadOnly in interface VCardProviderpublic void deleteVCard(String username)
deleteVCard in interface VCardProviderusername - the username.
|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||