Uses of Class
org.jivesoftware.openfire.pubsub.Node
-
Packages that use Node Package Description org.jivesoftware.openfire.pep Implementation of Personal Eventing via Pubsub (XEP-0163).org.jivesoftware.openfire.pubsub Implementation of Publish-Subscribe (XEP-0060).org.jivesoftware.openfire.pubsub.cluster org.jivesoftware.openfire.pubsub.models Defines policies that define who is allowed to subscribe and retrieve items or policies that define who is allowed to publish items to nodes (XEP-0060). -
-
Uses of Node in org.jivesoftware.openfire.pep
Methods in org.jivesoftware.openfire.pep that return Node Modifier and Type Method Description Node
PEPService. getNode(Node.UniqueIdentifier nodeID)
Methods in org.jivesoftware.openfire.pep that return types with arguments of type Node Modifier and Type Method Description Set<Node>
PEPServiceManager. findSubscribedNodes(org.xmpp.packet.JID entity, String nodeId)
Returns all PEP nodes with a specific ID that the provided entity is a subscriber to.Collection<Node>
PEPService. getNodes()
Methods in org.jivesoftware.openfire.pep with parameters of type Node Modifier and Type Method Description void
PEPService. addNode(Node node)
void
PEPService. broadcast(Node node, org.xmpp.packet.Message message, Collection<org.xmpp.packet.JID> jids)
void
PEPService. presenceSubscriptionNotRequired(Node node, org.xmpp.packet.JID user)
void
PEPService. presenceSubscriptionRequired(Node node, org.xmpp.packet.JID user)
void
PEPService. sendNotification(Node node, org.xmpp.packet.Message orig, org.xmpp.packet.JID recipientJID)
-
Uses of Node in org.jivesoftware.openfire.pubsub
Subclasses of Node in org.jivesoftware.openfire.pubsub Modifier and Type Class Description class
CollectionNode
A type of node that contains nodes and/or other collections but no published items.class
LeafNode
A type of node that contains published items only.Fields in org.jivesoftware.openfire.pubsub declared as Node Modifier and Type Field Description Node
PubSubEngine.CreateNodeResponse. newNode
Methods in org.jivesoftware.openfire.pubsub that return Node Modifier and Type Method Description Node
NodeAffiliate. getNode()
Node
NodeSubscription. getNode()
Returns the node that holds this subscription.Node
PubSubModule. getNode(Node.UniqueIdentifier nodeID)
default Node
PubSubService. getNode(String nodeID)
Returns theNode
that matches the specified node ID ornull
if none was found.Node
PubSubService. getNode(Node.UniqueIdentifier nodeID)
Returns theNode
that matches the specified node ID ornull
if none was found.Node
PubSubServiceInfo. getNode(String nodeID)
Methods in org.jivesoftware.openfire.pubsub that return types with arguments of type Node Modifier and Type Method Description Predicate<Node>
PubsubNodeResultFilter. getFilter()
Returns the filter that limits the results that are returned.List<Node>
PubSubServiceInfo. getLeafNodes()
Collection<Node>
CollectionNode. getNodes()
Collection<Node>
Node. getNodes()
Returns the list of nodes contained by this node.Collection<Node>
PubSubModule. getNodes()
Collection<Node>
PubSubService. getNodes()
Returns the collection of nodes hosted by the pubsub service.Collection<Node>
PubSubServiceInfo. getNodes()
Comparator<Node>
PubsubNodeResultFilter. getSortComparator()
Returns a comparator that will sort a standard sorted set according to this filter's sort order.Methods in org.jivesoftware.openfire.pubsub with parameters of type Node Modifier and Type Method Description void
PubSubModule. addNode(Node node)
void
PubSubService. addNode(Node node)
Adds an already persistent node to the service.void
PubSubModule. broadcast(Node node, org.xmpp.packet.Message message, Collection<org.xmpp.packet.JID> jids)
void
PubSubService. broadcast(Node node, org.xmpp.packet.Message message, Collection<org.xmpp.packet.JID> jids)
Broadcasts the specified Message containing an event notification to a list of subscribers to the specified node.void
CachingPubsubPersistenceProvider. createAffiliation(Node node, NodeAffiliate affiliate)
void
DefaultPubSubPersistenceProvider. createAffiliation(Node node, NodeAffiliate affiliate)
void
InMemoryPubSubPersistenceProvider. createAffiliation(Node node, NodeAffiliate affiliate)
void
PubSubPersistenceProvider. createAffiliation(Node node, NodeAffiliate affiliate)
Creates a new affiliation of the user in the node.void
CachingPubsubPersistenceProvider. createNode(Node node)
void
DefaultPubSubPersistenceProvider. createNode(Node node)
void
InMemoryPubSubPersistenceProvider. createNode(Node node)
void
PubSubPersistenceProvider. createNode(Node node)
Schedules the node to be created in the database.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.boolean
CollectionNode. isChildNode(Node child)
Returns true if the specified node is a first-level children of this collection node.boolean
Node. isChildNode(Node child)
Returns true if the specified node is a first-level children of this node.boolean
CollectionNode. isDescendantNode(Node child)
Returns true if the specified node is a direct child node of this collection node or a descendant of the children nodes.boolean
Node. isDescendantNode(Node child)
Returns true if the specified node is a direct child node of this node or a descendant of the children nodes.void
CachingPubsubPersistenceProvider. loadSubscription(Node node, String subId)
void
DefaultPubSubPersistenceProvider. loadSubscription(Node node, String subId)
void
InMemoryPubSubPersistenceProvider. loadSubscription(Node node, String subId)
void
PubSubPersistenceProvider. loadSubscription(Node node, String subId)
static void
PubSubEngine. presenceSubscriptionNotRequired(PubSubService service, Node node, org.xmpp.packet.JID user)
Requests the pubsub service to subscribe to the presence of the user.void
PubSubModule. presenceSubscriptionNotRequired(Node node, org.xmpp.packet.JID user)
void
PubSubService. presenceSubscriptionNotRequired(Node node, org.xmpp.packet.JID user)
Requests the pubsub service to unsubscribe from the presence of the user.static void
PubSubEngine. presenceSubscriptionRequired(PubSubService service, Node node, org.xmpp.packet.JID user)
Requests the pubsub service to unsubscribe from the presence of the user.void
PubSubModule. presenceSubscriptionRequired(Node node, org.xmpp.packet.JID user)
void
PubSubService. presenceSubscriptionRequired(Node node, org.xmpp.packet.JID user)
Requests the pubsub service to subscribe to the presence of the user.void
CachingPubsubPersistenceProvider. removeAffiliation(Node node, NodeAffiliate affiliate)
void
DefaultPubSubPersistenceProvider. removeAffiliation(Node node, NodeAffiliate affiliate)
void
InMemoryPubSubPersistenceProvider. removeAffiliation(Node node, NodeAffiliate affiliate)
void
PubSubPersistenceProvider. removeAffiliation(Node node, NodeAffiliate affiliate)
Removes the affiliation and subscription state of the user from the DB.void
CachingPubsubPersistenceProvider. removeNode(Node node)
void
DefaultPubSubPersistenceProvider. removeNode(Node node)
void
InMemoryPubSubPersistenceProvider. removeNode(Node node)
void
PubSubPersistenceProvider. removeNode(Node node)
Schedules the node to be removed in the database.void
PubSubModule. sendNotification(Node node, org.xmpp.packet.Message message, org.xmpp.packet.JID jid)
void
PubSubService. sendNotification(Node node, org.xmpp.packet.Message message, org.xmpp.packet.JID jid)
Sends the specified Message containing an event notification to a specific subscriber of the specified node.void
CachingPubsubPersistenceProvider. updateAffiliation(Node node, NodeAffiliate affiliate)
void
DefaultPubSubPersistenceProvider. updateAffiliation(Node node, NodeAffiliate affiliate)
void
InMemoryPubSubPersistenceProvider. updateAffiliation(Node node, NodeAffiliate affiliate)
void
PubSubPersistenceProvider. updateAffiliation(Node node, NodeAffiliate affiliate)
Updates an affiliation of the user in the node.void
CachingPubsubPersistenceProvider. updateNode(Node node)
void
DefaultPubSubPersistenceProvider. updateNode(Node node)
void
InMemoryPubSubPersistenceProvider. updateNode(Node node)
void
PubSubPersistenceProvider. updateNode(Node node)
Schedules the node to be updated in the database.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.Constructors in org.jivesoftware.openfire.pubsub with parameters of type Node Constructor Description CreateNodeResponse(org.xmpp.packet.PacketError.Condition creationStatus, org.dom4j.Element pubsubError, Node newNode)
NodeAffiliate(Node node, org.xmpp.packet.JID jid)
NodeSubscription(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID jid, NodeSubscription.State state, String id)
Creates a new subscription of the specified user with the node. -
Uses of Node in org.jivesoftware.openfire.pubsub.cluster
Methods in org.jivesoftware.openfire.pubsub.cluster that return types with arguments of type Node Modifier and Type Method Description Optional<Node>
NodeTask. getNodeIfLoaded()
Finds the pubsub node that is the subject of this task.Constructors in org.jivesoftware.openfire.pubsub.cluster with parameters of type Node Constructor Description AffiliationTask(Node node, org.xmpp.packet.JID jid, NodeAffiliate.Affiliation affiliation)
Constructs a new task that updates the affiliation of a particular entity with a specific pubsub node.NodeTask(Node node)
Constructs a new task for a specific pubsub node.RefreshNodeTask(Node node)
Constructs a new task that refreshes a specific pubsub node.RemoveNodeTask(Node node)
Constructs a new task that removes a specific node from a pubsub node. -
Uses of Node in org.jivesoftware.openfire.pubsub.models
Methods in org.jivesoftware.openfire.pubsub.models with parameters of type Node Modifier and Type Method Description abstract boolean
AccessModel. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
Returns true if the entity is allowed to get the node published items.boolean
AuthorizeAccess. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
OpenAccess. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
PresenceAccess. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
RosterAccess. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
WhitelistAccess. canAccessItems(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
OnlyPublishers. canPublish(Node node, org.xmpp.packet.JID entity)
boolean
OnlySubscribers. canPublish(Node node, org.xmpp.packet.JID entity)
boolean
OpenPublisher. canPublish(Node node, org.xmpp.packet.JID entity)
abstract boolean
PublisherModel. canPublish(Node node, org.xmpp.packet.JID entity)
Returns true if the entity is allowed to publish items to the specified node.abstract boolean
AccessModel. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
Returns true if the entity is allowed to subscribe to the specified node.boolean
AuthorizeAccess. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
OpenAccess. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
PresenceAccess. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
RosterAccess. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
boolean
WhitelistAccess. canSubscribe(Node node, org.xmpp.packet.JID owner, org.xmpp.packet.JID subscriber)
-