Uses of Class
org.jivesoftware.openfire.pubsub.PublishedItem
Packages that use PublishedItem
Package
Description
Implementation of Publish-Subscribe (XEP-0060).
-
Uses of PublishedItem in org.jivesoftware.openfire.pubsub
Methods in org.jivesoftware.openfire.pubsub that return PublishedItemModifier and TypeMethodDescriptionCachingPubsubPersistenceProvider.getLastPublishedItem(LeafNode node) LeafNode.getLastPublishedItem()Node.getLastPublishedItem()Returns the lastPublishedItemthat was published to the node ornullif the node does not have published items.default PublishedItemPubSubPersistenceProvider.getLastPublishedItem(LeafNode node) Fetches the last published item (by creation date) for the specified node.CachingPubsubPersistenceProvider.getPublishedItem(LeafNode node, PublishedItem.UniqueIdentifier itemIdentifier) DefaultPubSubPersistenceProvider.getPublishedItem(LeafNode node, PublishedItem.UniqueIdentifier itemIdentifier) InMemoryPubSubPersistenceProvider.getPublishedItem(LeafNode node, PublishedItem.UniqueIdentifier itemIdentifier) LeafNode.getPublishedItem(String itemID) Node.getPublishedItem(String itemID) Returns thePublishedItemwhose ID matches the specified item ID ornullif none was found.PubSubPersistenceProvider.getPublishedItem(LeafNode node, PublishedItem.UniqueIdentifier itemIdentifier) Fetches a published item (by ID) for a node.Methods in org.jivesoftware.openfire.pubsub that return types with arguments of type PublishedItemModifier and TypeMethodDescriptionCachingPubsubPersistenceProvider.getPublishedItems(LeafNode node) CachingPubsubPersistenceProvider.getPublishedItems(LeafNode node, int maxRows) DefaultPubSubPersistenceProvider.getPublishedItems(LeafNode node) DefaultPubSubPersistenceProvider.getPublishedItems(LeafNode node, int maxRows) InMemoryPubSubPersistenceProvider.getPublishedItems(LeafNode node) InMemoryPubSubPersistenceProvider.getPublishedItems(LeafNode node, int maxRows) LeafNode.getPublishedItems()LeafNode.getPublishedItems(int recentItems) Node.getPublishedItems()Returns the list ofPublishedItemthat were published to the node.Node.getPublishedItems(int recentItems) Returns a list ofPublishedItemwith the most recent N items published to the node.PubSubPersistenceProvider.getPublishedItems(LeafNode node) Fetches all the results for the specified node, limited byLeafNode.getMaxPublishedItems().PubSubPersistenceProvider.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 PublishedItemModifier and TypeMethodDescriptionbooleanNodeSubscription.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 subscription configuration and subscriber status.voidDefaultPubSubPersistenceProvider.createPublishedItem(PublishedItem item) voidCachingPubsubPersistenceProvider.removePublishedItem(PublishedItem item) voidDefaultPubSubPersistenceProvider.removePublishedItem(PublishedItem item) voidInMemoryPubSubPersistenceProvider.removePublishedItem(PublishedItem item) voidPubSubPersistenceProvider.removePublishedItem(PublishedItem item) Removes the specified published item from the DB.voidCachingPubsubPersistenceProvider.savePublishedItem(PublishedItem item) voidDefaultPubSubPersistenceProvider.savePublishedItem(PublishedItem item) voidInMemoryPubSubPersistenceProvider.savePublishedItem(PublishedItem item) voidPubSubPersistenceProvider.savePublishedItem(PublishedItem item) Creates and stores the published item in the database.voidLeafNode.setLastPublishedItem(PublishedItem item) voidDefaultPubSubPersistenceProvider.updatePublishedItem(PublishedItem item) Method parameters in org.jivesoftware.openfire.pubsub with type arguments of type PublishedItemModifier and TypeMethodDescriptionvoidCachingPubsubPersistenceProvider.bulkPublishedItems(List<PublishedItem> addList, List<PublishedItem> delList) voidDefaultPubSubPersistenceProvider.bulkPublishedItems(List<PublishedItem> addList, List<PublishedItem> delList) Writes large changesets to the database, using batches and transactions when available.voidInMemoryPubSubPersistenceProvider.bulkPublishedItems(List<PublishedItem> addList, List<PublishedItem> delList) voidPubSubPersistenceProvider.bulkPublishedItems(List<PublishedItem> addList, List<PublishedItem> delList) Writes large changesets, using batches and transactions when available.voidLeafNode.deleteItems(List<PublishedItem> toDelete) Deletes the list of published items from the node.static voidPubSubEventDispatcher.dispatchItemsDeleted(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) Dispatches that a collection of items was deleted from a node to all listeners.static voidPubSubEventDispatcher.dispatchItemsPublished(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) Dispatches that a collection of items was published on a node to all listeners.voidPubSubListener.itemsDeleted(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) One or more items were deleted from a node.voidPubSubListener.itemsPublished(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) One or more items were published on a node.protected voidDefaultPubSubPersistenceProvider.removePublishedItems(Connection con, List<PublishedItem> delList, boolean batch) voidDefaultPubSubPersistenceProvider.savePublishedItems(Connection con, List<PublishedItem> addList, boolean batch)