public interface RosterEventListener
RosterEventDispatcher.addListener(RosterEventListener)
method to register for events.Modifier and Type | Method and Description |
---|---|
boolean |
addingContact(Roster roster,
RosterItem item,
boolean persistent)
Notification message indicating that a contact is about to be added to a roster.
|
void |
contactAdded(Roster roster,
RosterItem item)
Notification message indicating that a contact has been added to a roster.
|
void |
contactDeleted(Roster roster,
RosterItem item)
Notification message indicating that a contact has been deleted from a roster.
|
void |
contactUpdated(Roster roster,
RosterItem item)
Notification message indicating that a contact has been updated.
|
void |
rosterLoaded(Roster roster)
Notification message indicating that a roster has just been loaded.
|
void rosterLoaded(Roster roster)
roster
- the loaded roster.boolean addingContact(Roster roster, RosterItem item, boolean persistent)
roster
- the roster that was updated.item
- the new roster item.persistent
- true if the new contact is going to be saved to the database.void contactAdded(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the new roster item.void contactUpdated(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the updated roster item.void contactDeleted(Roster roster, RosterItem item)
roster
- the roster that was updated.item
- the roster item that was deleted.Copyright © 2003-2008 Jive Software.