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

📄 defaultnodeconfiguration.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
        replies to items.</DL></DD></DL><HR><A NAME="getAssociationPolicy()"><!-- --></A><H3>getAssociationPolicy</H3><PRE>public <A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.LeafNodeAssociationPolicy.html" title="enum in org.jivesoftware.openfire.pubsub">CollectionNode.LeafNodeAssociationPolicy</A> <B>getAssociationPolicy</B>()</PRE><DL><DD>Returns the policy that defines who may associate leaf nodes with a collection.<P><DD><DL><DT><B>Returns:</B><DD>the policy that defines who may associate leaf nodes with a collection.</DL></DD></DL><HR><A NAME="getMaxLeafNodes()"><!-- --></A><H3>getMaxLeafNodes</H3><PRE>public int <B>getMaxLeafNodes</B>()</PRE><DL><DD>Returns the max number of leaf nodes that this collection node might have. A value of -1 means that there is no limit.<P><DD><DL><DT><B>Returns:</B><DD>the max number of leaf nodes that this collection node might have.</DL></DD></DL><HR><A NAME="setDeliverPayloads(boolean)"><!-- --></A><H3>setDeliverPayloads</H3><PRE>public void <B>setDeliverPayloads</B>(boolean&nbsp;deliverPayloads)</PRE><DL><DD>Sets if payloads are going to be delivered with event notifications.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>deliverPayloads</CODE> - true if payloads are going to be delivered with event notifications.</DL></DD></DL><HR><A NAME="setMaxPayloadSize(int)"><!-- --></A><H3>setMaxPayloadSize</H3><PRE>public void <B>setMaxPayloadSize</B>(int&nbsp;maxPayloadSize)</PRE><DL><DD>Sets the maximum payload size in bytes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxPayloadSize</CODE> - the maximum payload size in bytes.</DL></DD></DL><HR><A NAME="setPersistPublishedItems(boolean)"><!-- --></A><H3>setPersistPublishedItems</H3><PRE>public void <B>setPersistPublishedItems</B>(boolean&nbsp;persistPublishedItems)</PRE><DL><DD>Sets if items are going to be persisted in a storage. Note that when the variable is false then the last published item is the only items being saved to the backend storage.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>persistPublishedItems</CODE> - true if items are going to be persisted in a storage.</DL></DD></DL><HR><A NAME="setMaxPublishedItems(int)"><!-- --></A><H3>setMaxPublishedItems</H3><PRE>public void <B>setMaxPublishedItems</B>(int&nbsp;maxPublishedItems)</PRE><DL><DD>Sets the maximum number of published items to persist. Note that all nodes are going to persist their published items. The only difference is the number of the last published items to be persisted. Even nodes that are configured to not use persitent items are going to save the last published item.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxPublishedItems</CODE> - the maximum number of published items to persist.</DL></DD></DL><HR><A NAME="setNotifyConfigChanges(boolean)"><!-- --></A><H3>setNotifyConfigChanges</H3><PRE>public void <B>setNotifyConfigChanges</B>(boolean&nbsp;notifyConfigChanges)</PRE><DL><DD>Sets if subscribers are going to be notified when node configuration changes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>notifyConfigChanges</CODE> - true if subscribers are going to be notified when node        configuration changes.</DL></DD></DL><HR><A NAME="setNotifyDelete(boolean)"><!-- --></A><H3>setNotifyDelete</H3><PRE>public void <B>setNotifyDelete</B>(boolean&nbsp;notifyDelete)</PRE><DL><DD>Sets if subscribers are going to be notified when node is deleted.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>notifyDelete</CODE> - true if subscribers are going to be notified when node is deleted.</DL></DD></DL><HR><A NAME="setNotifyRetract(boolean)"><!-- --></A><H3>setNotifyRetract</H3><PRE>public void <B>setNotifyRetract</B>(boolean&nbsp;notifyRetract)</PRE><DL><DD>Sets if subscribers are going to be notified when items are removed from the node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>notifyRetract</CODE> - true if subscribers are going to be notified when items are removed        from the node.</DL></DD></DL><HR><A NAME="setPresenceBasedDelivery(boolean)"><!-- --></A><H3>setPresenceBasedDelivery</H3><PRE>public void <B>setPresenceBasedDelivery</B>(boolean&nbsp;presenceBasedDelivery)</PRE><DL><DD>Sets if notifications are going to be delivered only to available users.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>presenceBasedDelivery</CODE> - true if notifications are going to be delivered only to        available users.</DL></DD></DL><HR><A NAME="setSendItemSubscribe(boolean)"><!-- --></A><H3>setSendItemSubscribe</H3><PRE>public void <B>setSendItemSubscribe</B>(boolean&nbsp;sendItemSubscribe)</PRE><DL><DD>Sets if new subscribers are going to receive new items once subscribed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sendItemSubscribe</CODE> - true if new subscribers are going to receive new items        once subscribed.</DL></DD></DL><HR><A NAME="setPublisherModel(org.jivesoftware.openfire.pubsub.models.PublisherModel)"><!-- --></A><H3>setPublisherModel</H3><PRE>public void <B>setPublisherModel</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/models/PublisherModel.html" title="class in org.jivesoftware.openfire.pubsub.models">PublisherModel</A>&nbsp;publisherModel)</PRE><DL><DD>Sets the publisher model that specifies who is allowed to publish items to the node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>publisherModel</CODE> - the publisher model that specifies who is allowed to publish        items to the node.</DL></DD></DL><HR><A NAME="setSubscriptionEnabled(boolean)"><!-- --></A><H3>setSubscriptionEnabled</H3><PRE>public void <B>setSubscriptionEnabled</B>(boolean&nbsp;subscriptionEnabled)</PRE><DL><DD>Sets if subscribing and unsubscribing are enabled.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subscriptionEnabled</CODE> - true if subscribing and unsubscribing are enabled.</DL></DD></DL><HR><A NAME="setAccessModel(org.jivesoftware.openfire.pubsub.models.AccessModel)"><!-- --></A><H3>setAccessModel</H3><PRE>public void <B>setAccessModel</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A>&nbsp;accessModel)</PRE><DL><DD>Sets the access model that specifies who is allowed to subscribe and retrieve items.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>accessModel</CODE> - the access model that specifies who is allowed to subscribe and        retrieve items.</DL></DD></DL><HR><A NAME="setLanguage(java.lang.String)"><!-- --></A><H3>setLanguage</H3><PRE>public void <B>setLanguage</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>&nbsp;language)</PRE><DL><DD>Sets the default language of the node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>language</CODE> - the default language of the node.</DL></DD></DL><HR><A NAME="setReplyPolicy(org.jivesoftware.openfire.pubsub.Node.ItemReplyPolicy)"><!-- --></A><H3>setReplyPolicy</H3><PRE>public void <B>setReplyPolicy</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.ItemReplyPolicy.html" title="enum in org.jivesoftware.openfire.pubsub">Node.ItemReplyPolicy</A>&nbsp;replyPolicy)</PRE><DL><DD>Sets the policy that defines whether owners or publisher should receive replies to items.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>replyPolicy</CODE> - the policy that defines whether owners or publisher should receive        replies to items.</DL></DD></DL><HR><A NAME="setAssociationPolicy(org.jivesoftware.openfire.pubsub.CollectionNode.LeafNodeAssociationPolicy)"><!-- --></A><H3>setAssociationPolicy</H3><PRE>public void <B>setAssociationPolicy</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.LeafNodeAssociationPolicy.html" title="enum in org.jivesoftware.openfire.pubsub">CollectionNode.LeafNodeAssociationPolicy</A>&nbsp;associationPolicy)</PRE><DL><DD>Sets the policy that defines who may associate leaf nodes with a collection.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>associationPolicy</CODE> - the policy that defines who may associate leaf nodes        with a collection.</DL></DD></DL><HR><A NAME="setMaxLeafNodes(int)"><!-- --></A><H3>setMaxLeafNodes</H3><PRE>public void <B>setMaxLeafNodes</B>(int&nbsp;maxLeafNodes)</PRE><DL><DD>Sets the max number of leaf nodes that this collection node might have. A value of -1 means that there is no limit.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxLeafNodes</CODE> - the max number of leaf nodes that this collection node might have.</DL></DD></DL><HR><A NAME="getConfigurationForm()"><!-- --></A><H3>getConfigurationForm</H3><PRE>public <A HREF="../../../../org/xmpp/forms/DataForm.html" title="class in org.xmpp.forms">DataForm</A> <B>getConfigurationForm</B>()</PRE><DL><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/jivesoftware/openfire/pubsub/CollectionNode.LeafNodeAssociationPolicy.html" title="enum in org.jivesoftware.openfire.pubsub"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html" title="class in org.jivesoftware.openfire.pubsub"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DefaultNodeConfiguration.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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