org.eclipse.ecf.presence.roster
Interface IRosterEntry

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IRosterItem
All Known Implementing Classes:
RosterEntry

public interface IRosterEntry
extends IRosterItem

Roster entry object. Instances implementing this interface provide information about roster entryies.


Method Summary
 java.util.Collection getGroups()
          Get groups associated with this roster entry.
 IPresence getPresence()
          Get presence state for this roster entry.
 IUser getUser()
          Get user for this roster entry.
 
Methods inherited from interface org.eclipse.ecf.presence.roster.IRosterItem
getName, getParent, getRoster
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getUser

IUser getUser()
Get user for this roster entry. Will not be null.

Returns:
IUser that represents user associated with this roster entry. Will not be null.

getGroups

java.util.Collection getGroups()
Get groups associated with this roster entry. Instance in list are of type IRosterGroup

Returns:
Iterator of groups that this roster entry belongs to. Will not return null.

getPresence

IPresence getPresence()
Get presence state for this roster entry.

Returns:
IPresence information for this roster entry. May be null.