Uses of Class
org.jivesoftware.openfire.pubsub.NodeSubscription
-
Packages that use NodeSubscription Package Description org.jivesoftware.openfire.pubsub Implementation of Publish-Subscribe (XEP-0060).org.jivesoftware.openfire.pubsub.cluster -
-
Uses of NodeSubscription in org.jivesoftware.openfire.pubsub
Fields in org.jivesoftware.openfire.pubsub with type parameters of type NodeSubscription Modifier and Type Field Description protected Map<String,NodeSubscription>
Node. subscriptionsByID
Map that contains the current subscriptions to the node.protected Map<String,NodeSubscription>
Node. subscriptionsByJID
Map that contains the current subscriptions to the node.Methods in org.jivesoftware.openfire.pubsub that return NodeSubscription Modifier and Type Method Description NodeSubscription
Node. getSubscription(String subscriptionID)
Returns the subscription whose subscription ID matches the specified ID ornull
if none was found.NodeSubscription
Node. getSubscription(org.xmpp.packet.JID subscriberJID)
Returns the subscription whose subscription JID matches the specified JID ornull
if none was found.Methods in org.jivesoftware.openfire.pubsub that return types with arguments of type NodeSubscription Modifier and Type Method Description Collection<NodeSubscription>
Node. getAllSubscriptions()
Returns all subscriptions to the node.Collection<NodeSubscription>
Node. getPendingSubscriptions()
Returns a list with the subscriptions to the node that are pending to be approved by a node owner.Collection<NodeSubscription>
Node. getSubscriptions(org.xmpp.packet.JID owner)
Returns the list of subscriptions owned by the specified user.Collection<NodeSubscription>
NodeAffiliate. getSubscriptions()
Returns the list of subscriptions of the affiliate in the node.Methods in org.jivesoftware.openfire.pubsub with parameters of type NodeSubscription Modifier and Type Method Description void
Node. addSubscription(NodeSubscription subscription)
void
Node. approveSubscription(NodeSubscription subscription, boolean approved)
Approves or cancels a subscriptions that was pending to be approved by a node owner.void
Node. cancelSubscription(NodeSubscription subscription)
Cancels an existing subscription to the node.void
Node. cancelSubscription(NodeSubscription subscription, boolean sendToCluster)
Cancels an existing subscription to the node.void
CachingPubsubPersistenceProvider. createSubscription(Node node, NodeSubscription subscription)
void
DefaultPubSubPersistenceProvider. createSubscription(Node node, NodeSubscription subscription)
void
InMemoryPubSubPersistenceProvider. createSubscription(Node node, NodeSubscription subscription)
void
PubSubPersistenceProvider. createSubscription(Node node, NodeSubscription subscription)
Adds the new subscription of the user to the node to the database.void
CachingPubsubPersistenceProvider. removeSubscription(NodeSubscription subscription)
void
DefaultPubSubPersistenceProvider. removeSubscription(NodeSubscription subscription)
void
InMemoryPubSubPersistenceProvider. removeSubscription(NodeSubscription subscription)
void
PubSubPersistenceProvider. removeSubscription(NodeSubscription subscription)
Removes the subscription of the user from the DB.void
CachingPubsubPersistenceProvider. updateSubscription(Node node, NodeSubscription subscription)
void
DefaultPubSubPersistenceProvider. updateSubscription(Node node, NodeSubscription subscription)
void
InMemoryPubSubPersistenceProvider. updateSubscription(Node node, NodeSubscription subscription)
void
PubSubPersistenceProvider. updateSubscription(Node node, NodeSubscription subscription)
Updates the subscription of the user to the node to the database. -
Uses of NodeSubscription in org.jivesoftware.openfire.pubsub.cluster
Methods in org.jivesoftware.openfire.pubsub.cluster that return types with arguments of type NodeSubscription Modifier and Type Method Description Optional<NodeSubscription>
SubscriptionTask. getSubscriptionIfLoaded()
Finds the pubsub node subscription that is the subject of this task.Constructors in org.jivesoftware.openfire.pubsub.cluster with parameters of type NodeSubscription Constructor Description CancelSubscriptionTask(NodeSubscription subscription)
Constructs a new task that cancels a subscription to a pubsub node.ModifySubscriptionTask(NodeSubscription subscription)
Constructs a new task that modifies a subscription to a pubsub node.NewSubscriptionTask(NodeSubscription subscription)
Constructs a new task that creates a subscription to a pubsub node.SubscriptionTask(NodeSubscription subscription)
-