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

📄 pubsubpersistencemanager.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                                     <A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeAffiliate.html" title="class in org.jivesoftware.openfire.pubsub">NodeAffiliate</A>&nbsp;affiliate)</PRE><DL><DD>Removes the affiliation and subsription state of the user from the DB.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - The pubsub service that is hosting the node.<DD><CODE>node</CODE> - The node where the affiliation of the user was updated.<DD><CODE>affiliate</CODE> - The existing affiliation and subsription state of the user in the node.</DL></DD></DL><HR><A NAME="saveSubscription(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.Node, org.jivesoftware.openfire.pubsub.NodeSubscription, boolean)"><!-- --></A><H3>saveSubscription</H3><PRE>public static void <B>saveSubscription</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/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;node,                                    <A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeSubscription.html" title="class in org.jivesoftware.openfire.pubsub">NodeSubscription</A>&nbsp;subscription,                                    boolean&nbsp;create)</PRE><DL><DD>Updates the DB with the new subsription of the user to the node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - The pubsub service that is hosting the node.<DD><CODE>node</CODE> - The node where the user has subscribed to.<DD><CODE>subscription</CODE> - The new subscription of the user to the node.<DD><CODE>create</CODE> - True if this is a new affiliate.</DL></DD></DL><HR><A NAME="removeSubscription(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.Node, org.jivesoftware.openfire.pubsub.NodeSubscription)"><!-- --></A><H3>removeSubscription</H3><PRE>public static void <B>removeSubscription</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/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;node,                                      <A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeSubscription.html" title="class in org.jivesoftware.openfire.pubsub">NodeSubscription</A>&nbsp;subscription)</PRE><DL><DD>Removes the subscription of the user from the DB.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - The pubsub service that is hosting the node.<DD><CODE>node</CODE> - The node where the user was subscribed to.<DD><CODE>subscription</CODE> - The existing subsription of the user to the node.</DL></DD></DL><HR><A NAME="loadItems(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.LeafNode)"><!-- --></A><H3>loadItems</H3><PRE>public static void <B>loadItems</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/LeafNode.html" title="class in org.jivesoftware.openfire.pubsub">LeafNode</A>&nbsp;node)</PRE><DL><DD>Loads and adds the published items to the specified node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the pubsub service that is hosting the node.<DD><CODE>node</CODE> - the leaf node to load its published items.</DL></DD></DL><HR><A NAME="createPublishedItem(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.PublishedItem)"><!-- --></A><H3>createPublishedItem</H3><PRE>public static boolean <B>createPublishedItem</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/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>&nbsp;item)</PRE><DL><DD>Creates and stores the published item in the database.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the pubsub service that is hosting the node.<DD><CODE>item</CODE> - The published item to save.<DT><B>Returns:</B><DD>true if the item was successfully saved to the database.</DL></DD></DL><HR><A NAME="removePublishedItem(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.PublishedItem)"><!-- --></A><H3>removePublishedItem</H3><PRE>public static boolean <B>removePublishedItem</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/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A>&nbsp;item)</PRE><DL><DD>Removes the specified published item from the DB.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the pubsub service that is hosting the node.<DD><CODE>item</CODE> - The published item to delete.<DT><B>Returns:</B><DD>true if the item was successfully deleted from the database.</DL></DD></DL><HR><A NAME="loadDefaultConfiguration(org.jivesoftware.openfire.pubsub.PubSubService, boolean)"><!-- --></A><H3>loadDefaultConfiguration</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.html" title="class in org.jivesoftware.openfire.pubsub">DefaultNodeConfiguration</A> <B>loadDefaultConfiguration</B>(<A HREF="../../../../org/jivesoftware/openfire/pubsub/PubSubService.html" title="interface in org.jivesoftware.openfire.pubsub">PubSubService</A>&nbsp;service,                                                                boolean&nbsp;isLeafType)</PRE><DL><DD>Loads from the database the default node configuration for the specified node type and pubsub service.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the default node configuration used by this pubsub service.<DD><CODE>isLeafType</CODE> - true if loading default configuration for leaf nodes.<DT><B>Returns:</B><DD>the loaded default node configuration for the specified node type and service         or <tt>null</tt> if none was found.</DL></DD></DL><HR><A NAME="createDefaultConfiguration(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.DefaultNodeConfiguration)"><!-- --></A><H3>createDefaultConfiguration</H3><PRE>public static void <B>createDefaultConfiguration</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/DefaultNodeConfiguration.html" title="class in org.jivesoftware.openfire.pubsub">DefaultNodeConfiguration</A>&nbsp;config)</PRE><DL><DD>Creates a new default node configuration for the specified service.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the default node configuration used by this pubsub service.<DD><CODE>config</CODE> - the default node configuration to create in the database.</DL></DD></DL><HR><A NAME="updateDefaultConfiguration(org.jivesoftware.openfire.pubsub.PubSubService, org.jivesoftware.openfire.pubsub.DefaultNodeConfiguration)"><!-- --></A><H3>updateDefaultConfiguration</H3><PRE>public static void <B>updateDefaultConfiguration</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/DefaultNodeConfiguration.html" title="class in org.jivesoftware.openfire.pubsub">DefaultNodeConfiguration</A>&nbsp;config)</PRE><DL><DD>Updates the default node configuration for the specified service.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>service</CODE> - the default node configuration used by this pubsub service.<DD><CODE>config</CODE> - the default node configuration to update in the database.</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/PubSubModule.html" title="class in org.jivesoftware.openfire.pubsub"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jivesoftware/openfire/pubsub/PubSubService.html" title="interface 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/PubSubPersistenceManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PubSubPersistenceManager.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 + -