public class OperationSetServerStoredContactInfoIcqImpl extends java.lang.Object implements OperationSetServerStoredContactInfo
OperationSetServerStoredContactInfo.DetailsResponseListener
Modifier | Constructor and Description |
---|---|
protected |
OperationSetServerStoredContactInfoIcqImpl(InfoRetreiver infoRetreiver,
ProtocolProviderServiceIcqImpl icqProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ServerStoredDetails.GenericDetail> |
getAllDetailsForContact(Contact contact)
request the full info for the given uin
waits and return this details
|
java.util.Iterator<ServerStoredDetails.GenericDetail> |
getDetails(Contact contact,
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(Contact contact,
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.util.Iterator<ServerStoredDetails.GenericDetail> |
requestAllDetailsForContact(Contact contact,
OperationSetServerStoredContactInfo.DetailsResponseListener listener)
Requests all details existing for the specified contact.
|
protected OperationSetServerStoredContactInfoIcqImpl(InfoRetreiver infoRetreiver, ProtocolProviderServiceIcqImpl icqProvider)
public <T extends ServerStoredDetails.GenericDetail> java.util.Iterator<T> getDetailsAndDescendants(Contact contact, java.lang.Class<T> detailClass)
getDetailsAndDescendants
in interface OperationSetServerStoredContactInfo
contact
- ContactdetailClass
- Classpublic java.util.Iterator<ServerStoredDetails.GenericDetail> getDetails(Contact contact, java.lang.Class<? extends ServerStoredDetails.GenericDetail> detailClass)
getDetails
in interface OperationSetServerStoredContactInfo
contact
- ContactdetailClass
- Classpublic java.util.Iterator<ServerStoredDetails.GenericDetail> getAllDetailsForContact(Contact contact)
getAllDetailsForContact
in interface OperationSetServerStoredContactInfo
contact
- Contactpublic java.util.Iterator<ServerStoredDetails.GenericDetail> requestAllDetailsForContact(Contact contact, OperationSetServerStoredContactInfo.DetailsResponseListener listener)
requestAllDetailsForContact
in interface OperationSetServerStoredContactInfo
contact
- the specified contact
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.