|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.InfoRetreiver
public class InfoRetreiver
Handles and retrieves all info of our contacts or our account info
| Nested Class Summary | |
|---|---|
static class |
InfoRetreiver.WorkDepartmentNameDetail
Work department |
static class |
InfoRetreiver.WorkFaxDetail
Fax at work |
static class |
InfoRetreiver.WorkPagerDetail
Pager at work |
| Constructor Summary | |
|---|---|
protected |
InfoRetreiver(ProtocolProviderServiceJabberImpl jabberProvider,
String ownerUin)
|
| Method Summary | |
|---|---|
(package private) List<ServerStoredDetails.GenericDetail> |
getCachedContactDetails(String contactAddress)
request the full info for the given contactAddress if available in cache. |
(package private) List<ServerStoredDetails.GenericDetail> |
getContactDetails(String contactAddress)
request the full info for the given contactAddress waits and return this details |
(package private) Iterator<ServerStoredDetails.GenericDetail> |
getDetails(String uin,
Class<? extends ServerStoredDetails.GenericDetail> detailClass)
returns the user details from the specified class exactly that class not its descendants |
(package private) Iterator<ServerStoredDetails.GenericDetail> |
getDetailsAndDescendants(String uin,
Class<? extends ServerStoredDetails.GenericDetail> detailClass)
returns the user details from the specified class or its descendants the class is one from the net.java.sip.communicator.service.protocol.ServerStoredDetails or implemented one in the operation set for the user info |
void |
load(org.jivesoftware.smackx.packet.VCard vcard,
org.jivesoftware.smack.Connection connection,
String user,
long timeout)
Load VCard for the given user. |
protected List<ServerStoredDetails.GenericDetail> |
retrieveDetails(String contactAddress)
Retrieve details and return them or if missing return an empty list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected InfoRetreiver(ProtocolProviderServiceJabberImpl jabberProvider,
String ownerUin)
| Method Detail |
|---|
Iterator<ServerStoredDetails.GenericDetail> getDetailsAndDescendants(String uin,
Class<? extends ServerStoredDetails.GenericDetail> detailClass)
uin - StringdetailClass - Class
Iterator<ServerStoredDetails.GenericDetail> getDetails(String uin,
Class<? extends ServerStoredDetails.GenericDetail> detailClass)
uin - StringdetailClass - Class
List<ServerStoredDetails.GenericDetail> getContactDetails(String contactAddress)
contactAddress - String
protected List<ServerStoredDetails.GenericDetail> retrieveDetails(String contactAddress)
contactAddress - the address to search for.
List<ServerStoredDetails.GenericDetail> getCachedContactDetails(String contactAddress)
contactAddress - to search for
public void load(org.jivesoftware.smackx.packet.VCard vcard,
org.jivesoftware.smack.Connection connection,
String user,
long timeout)
throws org.jivesoftware.smack.XMPPException
vcard - VCardconnection - XMPP connectionuser - the usertimeout - timeout in second
org.jivesoftware.smack.XMPPException - if something went wrong during VCard loading
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||