net.java.sip.communicator.impl.protocol.icq
Class OperationSetServerStoredContactInfoIcqImpl
java.lang.Object
net.java.sip.communicator.impl.protocol.icq.OperationSetServerStoredContactInfoIcqImpl
- All Implemented Interfaces:
- OperationSet, OperationSetServerStoredContactInfo
public class OperationSetServerStoredContactInfoIcqImpl
- extends Object
- implements OperationSetServerStoredContactInfo
- Author:
- Damian Minkov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationSetServerStoredContactInfoIcqImpl
protected OperationSetServerStoredContactInfoIcqImpl(InfoRetreiver infoRetreiver,
ProtocolProviderServiceIcqImpl icqProvider)
getDetailsAndDescendants
public Iterator<ServerStoredDetails.GenericDetail> getDetailsAndDescendants(Contact contact,
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
- Specified by:
getDetailsAndDescendants in interface OperationSetServerStoredContactInfo
- Parameters:
contact - ContactdetailClass - Class
- Returns:
- Iterator
getDetails
public Iterator<ServerStoredDetails.GenericDetail> getDetails(Contact contact,
Class<? extends ServerStoredDetails.GenericDetail> detailClass)
- returns the user details from the specified class
exactly that class not its descendants
- Specified by:
getDetails in interface OperationSetServerStoredContactInfo
- Parameters:
contact - ContactdetailClass - Class
- Returns:
- Iterator
getAllDetailsForContact
public Iterator<ServerStoredDetails.GenericDetail> getAllDetailsForContact(Contact contact)
- request the full info for the given uin
waits and return this details
- Specified by:
getAllDetailsForContact in interface OperationSetServerStoredContactInfo
- Parameters:
contact - Contact
- Returns:
- Iterator
requestAllDetailsForContact
public Iterator<ServerStoredDetails.GenericDetail> requestAllDetailsForContact(Contact contact,
OperationSetServerStoredContactInfo.DetailsResponseListener listener)
- Requests all details existing for the specified contact.
- Specified by:
requestAllDetailsForContact in interface OperationSetServerStoredContactInfo
- Parameters:
contact - the specified contact
- Returns:
- a java.util.Iterator over all details existing for the specified
contact.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.