leafnode.html
来自「开源软件openfire的API文件。进行openfire的二次开发所必需的工具」· HTML 代码 · 共 717 行 · 第 1/4 页
HTML
717 行
<BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#addFormFields(org.xmpp.forms.DataForm, boolean)">addFormFields</A></B>(<A HREF="../../../../org/xmpp/forms/DataForm.html" title="class in org.xmpp.forms">DataForm</A> form, boolean isEditing)</CODE><BR> Adds the required form fields to the specified form.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#deleteItems(java.util.List)">deleteItems</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>> toDelete)</CODE><BR> Deletes the list of published items from the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#deletingNode()">deletingNode</A></B>()</CODE><BR> 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> <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getLastPublishedItem()">getLastPublishedItem</A></B>()</CODE><BR> Returns the last <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub"><CODE>PublishedItem</CODE></A> that was published to the node or <tt>null</tt> if the node does not have published items.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getMaxPayloadSize()">getMaxPayloadSize</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getMaxPublishedItems()">getMaxPublishedItems</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getPublishedItem(java.lang.String)">getPublishedItem</A></B>(<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> itemID)</CODE><BR> Returns the <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub"><CODE>PublishedItem</CODE></A> whose ID matches the specified item ID or <tt>null</tt> if none was found.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getPublishedItems()">getPublishedItems</A></B>()</CODE><BR> Returns the list of <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub"><CODE>PublishedItem</CODE></A> that were published to the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#getPublishedItems(int)">getPublishedItems</A></B>(int recentItems)</CODE><BR> Returns a list of <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub"><CODE>PublishedItem</CODE></A> with the most recent N items published to the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#isItemRequired()">isItemRequired</A></B>()</CODE><BR> Returns true if an item element is required to be included when publishing an item to this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#isPersistPublishedItems()">isPersistPublishedItems</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#isSendItemSubscribe()">isSendItemSubscribe</A></B>()</CODE><BR> Returns true if the last published item is going to be sent to new subscribers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#publishItems(org.xmpp.packet.JID, java.util.List)">publishItems</A></B>(<A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> publisher, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><org.dom4j.Element> itemElements)</CODE><BR> Publishes the list of items to the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html#purge()">purge</A></B>()</CODE><BR> Purges items that were published to the node.</TD></TR></TABLE> <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#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#getNodes()">getNodes</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#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#isChildNode(org.jivesoftware.openfire.pubsub.Node)">isChildNode</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isCollectionNode()">isCollectionNode</A>, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html#isDescendantNode(org.jivesoftware.openfire.pubsub.Node)">isDescendantNode</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#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> <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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="publishedItems"><!-- --></A><H3>publishedItems</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>> <B>publishedItems</B></PRE><DL><DD>List of items that were published to the node and that are still active. If the node is not configured to persist items then the last published item will be kept. The list is sorted cronologically.<P><DL></DL></DL><HR><A NAME="itemsByID"><!-- --></A><H3>itemsByID</H3><PRE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?