| Package | Description |
|---|---|
| org.jivesoftware.openfire.pep |
Implementation of Personal Eventing via Pubsub (XEP-0163).
|
| org.jivesoftware.openfire.roster |
Provides classes for managing the roster.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IQPEPHandler.addingContact(Roster roster,
RosterItem item,
boolean persistent) |
void |
IQPEPHandler.contactAdded(Roster roster,
RosterItem item) |
void |
IQPEPHandler.contactDeleted(Roster roster,
RosterItem item) |
void |
IQPEPHandler.contactUpdated(Roster roster,
RosterItem item) |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<String,RosterItem> |
Roster.rosterItems
Roster item cache - table: key jabberid string; value roster item.
|
| Modifier and Type | Method and Description |
|---|---|
RosterItem |
RosterItemProvider.createItem(String username,
RosterItem item)
Creates a new roster item for the given user (optional operation).
|
RosterItem |
DefaultRosterItemProvider.createItem(String username,
RosterItem item) |
RosterItem |
Roster.createRosterItem(org.xmpp.packet.JID user,
boolean push,
boolean persistent)
Create a new item to the roster.
|
RosterItem |
Roster.createRosterItem(org.xmpp.packet.JID user,
String nickname,
List<String> groups,
boolean push,
boolean persistent)
Create a new item to the roster.
|
RosterItem |
Roster.deleteRosterItem(org.xmpp.packet.JID user,
boolean doChecking)
Remove a user from the roster.
|
RosterItem |
Roster.getRosterItem(org.xmpp.packet.JID user)
Returns the roster item that is associated with the specified JID.
|
protected RosterItem |
Roster.provideRosterItem(org.xmpp.packet.JID user,
String nickname,
List<String> groups,
boolean push,
boolean persistent)
Generate a new RosterItem for use with createRosterItem.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<RosterItem> |
RosterItemProvider.getItems(String username)
Retrieve an iterator of RosterItems for the given user.
|
Iterator<RosterItem> |
DefaultRosterItemProvider.getItems(String username) |
Collection<RosterItem> |
Roster.getRosterItems()
Returns a collection of users in this roster.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RosterEventDispatcher.addingContact(Roster roster,
RosterItem item,
boolean persistent)
Notifies listeners that a contact is about to be added to a roster.
|
boolean |
RosterEventListener.addingContact(Roster roster,
RosterItem item,
boolean persistent)
Notification message indicating that a contact is about to be added to a roster.
|
void |
Roster.broadcast(RosterItem item,
boolean optimize)
Broadcasts the RosterItem to all the connected resources of this user.
|
static void |
RosterEventDispatcher.contactAdded(Roster roster,
RosterItem item)
Notifies the listeners that a contact has been added to a roster.
|
void |
RosterEventListener.contactAdded(Roster roster,
RosterItem item)
Notification message indicating that a contact has been added to a roster.
|
static void |
RosterEventDispatcher.contactDeleted(Roster roster,
RosterItem item)
Notifies the listeners that a contact has been deleted from a roster.
|
void |
RosterEventListener.contactDeleted(Roster roster,
RosterItem item)
Notification message indicating that a contact has been deleted from a roster.
|
static void |
RosterEventDispatcher.contactUpdated(Roster roster,
RosterItem item)
Notifies the listeners that a contact has been updated.
|
void |
RosterEventListener.contactUpdated(Roster roster,
RosterItem item)
Notification message indicating that a contact has been updated.
|
RosterItem |
RosterItemProvider.createItem(String username,
RosterItem item)
Creates a new roster item for the given user (optional operation).
|
RosterItem |
DefaultRosterItemProvider.createItem(String username,
RosterItem item) |
void |
RosterItemProvider.updateItem(String username,
RosterItem item)
Update the roster item in storage with the information contained in the given item
(optional operation).
|
void |
DefaultRosterItemProvider.updateItem(String username,
RosterItem item) |
void |
Roster.updateRosterItem(RosterItem item)
Update an item that is already in the roster.
|
Copyright © 2003–2019 Ignite Realtime. All rights reserved.