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. subscriptionsByIDMap that contains the current subscriptions to the node.protected Map<String,NodeSubscription>Node. subscriptionsByJIDMap that contains the current subscriptions to the node.Methods in org.jivesoftware.openfire.pubsub that return NodeSubscription Modifier and Type Method Description NodeSubscriptionNode. getSubscription(String subscriptionID)Returns the subscription whose subscription ID matches the specified ID ornullif none was found.NodeSubscriptionNode. getSubscription(org.xmpp.packet.JID subscriberJID)Returns the subscription whose subscription JID matches the specified JID ornullif 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 voidNode. addSubscription(NodeSubscription subscription)voidNode. approveSubscription(NodeSubscription subscription, boolean approved)Approves or cancels a subscriptions that was pending to be approved by a node owner.voidNode. cancelSubscription(NodeSubscription subscription)Cancels an existing subscription to the node.voidNode. cancelSubscription(NodeSubscription subscription, boolean sendToCluster)Cancels an existing subscription to the node.static voidPubSubPersistenceManager. removeSubscription(NodeSubscription subscription)Removes the subscription of the user from the DB.static voidPubSubPersistenceManager. 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 NodeSubscriptionSubscriptionTask. 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)
-