public class InfoRetreiver
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
InfoRetreiver(ProtocolProviderServiceIcqImpl icqProvider,
java.lang.String ownerUin) |
Modifier and Type | Method and Description |
---|---|
protected void |
detailsChanged(java.lang.String uin)
when detail is changed we remove it from the cache,
from retreivedDetails so the next time we want the details
we are shure they are get from the server and are actual
|
protected java.util.List<ServerStoredDetails.GenericDetail> |
getCachedContactDetails(java.lang.String uin)
Request the full info for the given uin if available in cache,
if missing return null.
|
protected java.util.List<ServerStoredDetails.GenericDetail> |
getContactDetails(java.lang.String uin)
request the full info for the given uin
waits and return this details
|
java.util.Iterator<ServerStoredDetails.GenericDetail> |
getDetails(java.lang.String uin,
java.lang.Class<? extends ServerStoredDetails.GenericDetail> detailClass)
returns the user details from the specified class
exactly that class not its descendants
|
<T extends ServerStoredDetails.GenericDetail> |
getDetailsAndDescendants(java.lang.String uin,
java.lang.Class<T> 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
|
java.lang.String |
getNickName(java.lang.String uin)
Get the nickname of the specified uin
|
protected java.util.List<ServerStoredDetails.GenericDetail> |
retrieveDetails(java.lang.String uin)
Retrieve details and return them or if missing return an empty list.
|
protected InfoRetreiver(ProtocolProviderServiceIcqImpl icqProvider, java.lang.String ownerUin)
public <T extends ServerStoredDetails.GenericDetail> java.util.Iterator<T> getDetailsAndDescendants(java.lang.String uin, java.lang.Class<T> detailClass)
uin
- StringdetailClass
- Classpublic java.util.Iterator<ServerStoredDetails.GenericDetail> getDetails(java.lang.String uin, java.lang.Class<? extends ServerStoredDetails.GenericDetail> detailClass)
uin
- StringdetailClass
- Classprotected java.util.List<ServerStoredDetails.GenericDetail> getContactDetails(java.lang.String uin)
uin
- Stringprotected java.util.List<ServerStoredDetails.GenericDetail> retrieveDetails(java.lang.String uin)
uin
- the uin to search for.protected java.util.List<ServerStoredDetails.GenericDetail> getCachedContactDetails(java.lang.String uin)
uin
- to search for in cache.protected void detailsChanged(java.lang.String uin)
uin
- Stringpublic java.lang.String getNickName(java.lang.String uin)
uin
- String the uin
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.