Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.yahoo
Class VolatileContactGroupYahooImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.yahoo.AbstractContactGroupYahooImpl
      extended by net.java.sip.communicator.impl.protocol.yahoo.ContactGroupYahooImpl
          extended by net.java.sip.communicator.impl.protocol.yahoo.VolatileContactGroupYahooImpl
All Implemented Interfaces:
ContactGroup

public class VolatileContactGroupYahooImpl
extends ContactGroupYahooImpl

The Yahoo implementation of the Volatile ContactGroup interface.

Author:
Damian Minkov

Constructor Summary
VolatileContactGroupYahooImpl(String groupName, ServerStoredContactListYahooImpl ssclCallback)
          Creates an Yahoo group using the specified group name
 
Method Summary
 String getGroupName()
          Returns the name of this group.
 boolean isPersistent()
          Determines whether or not this contact group is being stored by the server.
 String toString()
          Returns a string representation of this group, in the form YahooGroup.GroupName[size]{ buddy1.toString(), buddy2.toString(), ...}.
 
Methods inherited from class net.java.sip.communicator.impl.protocol.yahoo.ContactGroupYahooImpl
addContact, canContainSubgroups, contacts, countContacts, countSubgroups, equals, findContact, getContact, getGroup, getGroup, getParentContactGroup, getPersistentData, getProtocolProvider, getSourceGroup, getUID, hashCode, isResolved, removeContact, setResolved, setSourceGroup, subgroups
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolatileContactGroupYahooImpl

VolatileContactGroupYahooImpl(String groupName,
                              ServerStoredContactListYahooImpl ssclCallback)
Creates an Yahoo group using the specified group name

Parameters:
groupName - String groupname
ssclCallback - a callback to the server stored contact list we're creating.
Method Detail

getGroupName

public String getGroupName()
Returns the name of this group.

Specified by:
getGroupName in interface ContactGroup
Overrides:
getGroupName in class ContactGroupYahooImpl
Returns:
a String containing the name of this group.

toString

public String toString()
Returns a string representation of this group, in the form YahooGroup.GroupName[size]{ buddy1.toString(), buddy2.toString(), ...}.

Overrides:
toString in class ContactGroupYahooImpl
Returns:
a String representation of the object.

isPersistent

public boolean isPersistent()
Determines whether or not this contact group is being stored by the server. Non persistent contact groups exist for the sole purpose of containing non persistent contacts.

Specified by:
isPersistent in interface ContactGroup
Overrides:
isPersistent in class ContactGroupYahooImpl
Returns:
true if the contact group is persistent and false otherwise.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.