⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 collectionnode.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#deletingNode()">deletingNode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notification message indicating that the node is being deleted.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.LeafNodeAssociationPolicy.html" title="enum in org.jivesoftware.openfire.pubsub">CollectionNode.LeafNodeAssociationPolicy</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#getAssociationPolicy()">getAssociationPolicy</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the policy that defines who may associate leaf nodes with a collection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#getAssociationTrusted()">getAssociationTrusted</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the users that are allowed to associate leaf nodes with this collection node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#getMaxLeafNodes()">getMaxLeafNodes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the max number of leaf nodes that this collection node might have.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#getNodes()">getNodes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of nodes contained by this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#isAssociationAllowed(org.xmpp.packet.JID)">isAssociationAllowed</A></B>(<A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;user)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified user is allowed to associate a leaf node with this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#isChildNode(org.jivesoftware.openfire.pubsub.Node)">isChildNode</A></B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified node is a first-level children of this collection node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#isCollectionNode()">isCollectionNode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this node is a node container.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#isDescendantNode(org.jivesoftware.openfire.pubsub.Node)">isDescendantNode</A></B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified node is a direct child node of this collection node or a descendant of the children nodes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html#isMaxLeafNodeReached()">isMaxLeafNodeReached</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the max number of leaf nodes associated with this node has reached to the maximum allowed.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jivesoftware.openfire.pubsub.Node"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.jivesoftware.openfire.pubsub.<A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addNoneAffiliation(org.xmpp.packet.JID)">addNoneAffiliation</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addOutcast(org.xmpp.packet.JID)">addOutcast</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addOwner(org.xmpp.packet.JID)">addOwner</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addPublisher(org.xmpp.packet.JID)">addPublisher</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#approveSubscription(org.jivesoftware.openfire.pubsub.NodeSubscription, boolean)">approveSubscription</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#broadcastNodeEvent(org.xmpp.packet.Message, boolean)">broadcastNodeEvent</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#cancelSubscription(org.jivesoftware.openfire.pubsub.NodeSubscription)">cancelSubscription</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#changeParent(org.jivesoftware.openfire.pubsub.CollectionNode)">changeParent</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#configure(org.xmpp.forms.DataForm)">configure</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#createSubscription(org.xmpp.packet.IQ, org.xmpp.packet.JID, org.xmpp.packet.JID, boolean, org.xmpp.forms.DataForm)">createSubscription</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#delete()">delete</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getAccessModel()">getAccessModel</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getAffiliate(org.xmpp.packet.JID)">getAffiliate</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getBodyXSLT()">getBodyXSLT</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getConfigurationForm()">getConfigurationForm</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getContacts()">getContacts</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getCreationDate()">getCreationDate</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getCreator()">getCreator</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getDataformXSLT()">getDataformXSLT</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getDescription()">getDescription</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getLanguage()">getLanguage</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getLastPublishedItem()">getLastPublishedItem</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getMetadataForm()">getMetadataForm</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getModificationDate()">getModificationDate</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getName()">getName</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getNodeID()">getNodeID</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getOwners()">getOwners</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getParent()">getParent</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getParents()">getParents</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPayloadType()">getPayloadType</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPendingSubscriptions()">getPendingSubscriptions</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPublishedItem(java.lang.String)">getPublishedItem</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPublishedItems()">getPublishedItems</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPublishedItems(int)">getPublishedItems</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPublisherModel()">getPublisherModel</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getPublishers()">getPublishers</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getReplyPolicy()">getReplyPolicy</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getReplyRooms()">getReplyRooms</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getReplyTo()">getReplyTo</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getRosterGroupsAllowed()">getRosterGroupsAllowed</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getSubscription(org.xmpp.packet.JID)">getSubscription</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#getSubscriptions(org.xmpp.packet.JID)">getSubscriptions</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isAdmin(org.xmpp.packet.JID)">isAdmin</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isMultipleSubscriptionsEnabled()">isMultipleSubscriptionsEnabled</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isNotifiedOfConfigChanges()">isNotifiedOfConfigChanges</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isNotifiedOfDelete()">isNotifiedOfDelete</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isNotifiedOfRetract()">isNotifiedOfRetract</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isPayloadDelivered()">isPayloadDelivered</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isPresenceBasedDelivery()">isPresenceBasedDelivery</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isPresenceBasedDelivery(org.xmpp.packet.JID)">isPresenceBasedDelivery</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isRootCollectionNode()">isRootCollectionNode</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isSendItemSubscribe()">isSendItemSubscribe</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isSubscriptionConfigurationRequired()">isSubscriptionConfigurationRequired</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isSubscriptionEnabled()">isSubscriptionEnabled</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#removeOutcast(org.xmpp.packet.JID)">removeOutcast</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#removeOwner(org.xmpp.packet.JID)">removeOwner</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#removePublisher(org.xmpp.packet.JID)">removePublisher</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#saveToDB()">saveToDB</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#sendEventNotification(org.xmpp.packet.JID, org.xmpp.packet.Message, java.util.Collection)">sendEventNotification</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="CollectionNode(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.CollectionNode, java.lang.String, org.xmpp.packet.JID)"><!-- --></A><H3>CollectionNode</H3><PRE>public <B>CollectionNode</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/PubSubService.html" title="interface in org.jivesoftware.openfire.pubsub">PubSubService</A>&nbsp;service,                      <A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.html" title="class in org.jivesoftware.openfire.pubsub">CollectionNode</A>&nbsp;parentNode,                      <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;nodeID,                      <A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;creator)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="addFormFields(org.xmpp.forms.DataForm, boolean)"><!-- --></A><H3>addFormFields</H3><PRE>protected void <B>addFormFields</B>(<A HREF="../../../../org/xmpp/forms/DataForm.html" title="class in org.xmpp.forms">DataForm</A>&nbsp;form,                             boolean&nbsp;isEditing)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addFormFields(org.xmpp.forms.DataForm, boolean)">Node</A></CODE></B></DD><DD>Adds the required form fields to the specified form. When editing is true the field type and a label is included in each fields. The form being completed will contain the current node configuration. This information can be used for editing the node or for notifing that the node configuration has changed.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#addFormFields(org.xmpp.forms.DataForm, boolean)">addFormFields</A></CODE> in class <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>form</CODE> - the form containing the node configuration.<DD><CODE>isEditing</CODE> - true when the form will be used to edit the node configuration.</DL></DD></DL><HR><A NAME="deletingNode()"><!-- --></A><H3>deletingNode</H3><PRE>protected void <B>deletingNode</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#deletingNode()">Node</A></CODE></B></DD><DD>Notification message indicating that the node is being deleted. Subclasses should implement this method to delete any subclass specific information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#deletingNode()">deletingNode</A></CODE> in class <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isCollectionNode()"><!-- --></A><H3>isCollectionNode</H3><PRE>public boolean <B>isCollectionNode</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isCollectionNode()">Node</A></CODE></B></DD><DD>Returns true if this node is a node container. Node containers may only contain nodes but are not allowed to get items published.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isCollectionNode()">isCollectionNode</A></CODE> in class <CODE><A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this node is a node container.</DL></DD></DL><HR><A NAME="isChildNode(org.jivesoftware.openfire.pubsub.Node)"><!-- --></A><H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -