| Package | Description |
|---|---|
| org.jivesoftware.openfire.pubsub |
Implementation of Publish-Subscribe (XEP-0060).
|
| Modifier and Type | Method and Description |
|---|---|
PublishedItem |
LeafNode.getLastPublishedItem() |
PublishedItem |
Node.getLastPublishedItem()
Returns the last
PublishedItem that was published to the node or null if
the node does not have published items. |
static PublishedItem |
PubSubPersistenceManager.getLastPublishedItem(LeafNode node)
Fetches the last published item for the specified node.
|
static PublishedItem |
PubSubPersistenceManager.getPublishedItem(LeafNode node,
String itemID) |
PublishedItem |
LeafNode.getPublishedItem(String itemID) |
PublishedItem |
Node.getPublishedItem(String itemID)
Returns the
PublishedItem whose ID matches the specified item ID or null
if none was found. |
| Modifier and Type | Method and Description |
|---|---|
List<PublishedItem> |
LeafNode.getPublishedItems() |
List<PublishedItem> |
Node.getPublishedItems()
Returns the list of
PublishedItem that were published to the node. |
List<PublishedItem> |
LeafNode.getPublishedItems(int recentItems) |
List<PublishedItem> |
Node.getPublishedItems(int recentItems)
Returns a list of
PublishedItem with the most recent N items published to
the node. |
static List<PublishedItem> |
PubSubPersistenceManager.getPublishedItems(LeafNode node)
Fetches all the results for the specified node, limited by
LeafNode.getMaxPublishedItems(). |
static List<PublishedItem> |
PubSubPersistenceManager.getPublishedItems(LeafNode node,
int maxRows)
Fetches all the results for the specified node, limited by
LeafNode.getMaxPublishedItems(). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeSubscription.canSendPublicationEvent(LeafNode leafNode,
PublishedItem publishedItem)
Returns true if an event notification can be sent to the subscriber for the specified
published item based on the subsription configuration and subscriber status.
|
static void |
PubSubPersistenceManager.removePublishedItem(PublishedItem item)
Removes the specified published item from the DB.
|
static void |
PubSubPersistenceManager.savePublishedItem(PublishedItem item)
Creates and stores the published item in the database.
|
void |
LeafNode.setLastPublishedItem(PublishedItem item) |
| Modifier and Type | Method and Description |
|---|---|
void |
LeafNode.deleteItems(List<PublishedItem> toDelete)
Deletes the list of published items from the node.
|
Copyright © 2003–2019 Ignite Realtime. All rights reserved.