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.static void
PubSubPersistenceManager. removeSubscription(NodeSubscription subscription)
Removes the subscription of the user from the DB.static void
PubSubPersistenceManager. saveSubscription(Node node, NodeSubscription subscription, boolean create)
Updates the DB with the new subsription of the user to the node. -
Uses of NodeSubscription in org.jivesoftware.openfire.pubsub.cluster
Methods in org.jivesoftware.openfire.pubsub.cluster that return NodeSubscription Modifier and Type Method Description NodeSubscription
SubscriptionTask. getSubscription()
Constructors in org.jivesoftware.openfire.pubsub.cluster with parameters of type NodeSubscription Constructor Description CancelSubscriptionTask(NodeSubscription subscription)
ModifySubscriptionTask(NodeSubscription subscription)
NewSubscriptionTask(NodeSubscription subscription)
SubscriptionTask(NodeSubscription subscription)
-