Uses of Class
org.jivesoftware.openfire.pubsub.PublishedItem
-
Packages that use PublishedItem Package Description org.jivesoftware.openfire.pubsub Implementation of Publish-Subscribe (XEP-0060). -
-
Uses of PublishedItem in org.jivesoftware.openfire.pubsub
Methods in org.jivesoftware.openfire.pubsub that return PublishedItem Modifier and Type Method Description PublishedItem
LeafNode. getLastPublishedItem()
PublishedItem
Node. getLastPublishedItem()
Returns the lastPublishedItem
that was published to the node ornull
if the node does not have published items.static PublishedItem
PubSubPersistenceManager. getLastPublishedItem(LeafNode node)
Fetches the last published item for the specified node.PublishedItem
LeafNode. getPublishedItem(String itemID)
PublishedItem
Node. getPublishedItem(String itemID)
Returns thePublishedItem
whose ID matches the specified item ID ornull
if none was found.static PublishedItem
PubSubPersistenceManager. getPublishedItem(LeafNode node, String itemID)
Methods in org.jivesoftware.openfire.pubsub that return types with arguments of type PublishedItem Modifier and Type Method Description List<PublishedItem>
LeafNode. getPublishedItems()
List<PublishedItem>
LeafNode. getPublishedItems(int recentItems)
List<PublishedItem>
Node. getPublishedItems()
Returns the list ofPublishedItem
that were published to the node.List<PublishedItem>
Node. getPublishedItems(int recentItems)
Returns a list ofPublishedItem
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 byLeafNode.getMaxPublishedItems()
.static List<PublishedItem>
PubSubPersistenceManager. getPublishedItems(LeafNode node, int maxRows)
Fetches all the results for the specified node, limited byLeafNode.getMaxPublishedItems()
.Methods in org.jivesoftware.openfire.pubsub with parameters of type PublishedItem Modifier and Type Method 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)
Method parameters in org.jivesoftware.openfire.pubsub with type arguments of type PublishedItem Modifier and Type Method Description void
LeafNode. deleteItems(List<PublishedItem> toDelete)
Deletes the list of published items from the node.
-