📄 pubsubpersistencemanager.html
字号:
<A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeAffiliate.html" title="class in org.jivesoftware.openfire.pubsub">NodeAffiliate</A> 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A> node, <A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeSubscription.html" title="class in org.jivesoftware.openfire.pubsub">NodeSubscription</A> subscription, boolean 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A> node, <A HREF="../../../../org/jivesoftware/openfire/pubsub/NodeSubscription.html" title="class in org.jivesoftware.openfire.pubsub">NodeSubscription</A> 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/LeafNode.html" title="class in org.jivesoftware.openfire.pubsub">LeafNode</A> 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A> 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/PublishedItem.html" title="class in org.jivesoftware.openfire.pubsub">PublishedItem</A> 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> service, boolean 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.html" title="class in org.jivesoftware.openfire.pubsub">DefaultNodeConfiguration</A> 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> service, <A HREF="../../../../org/jivesoftware/openfire/pubsub/DefaultNodeConfiguration.html" title="class in org.jivesoftware.openfire.pubsub">DefaultNodeConfiguration</A> 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../../../org/jivesoftware/openfire/pubsub/PubSubModule.html" title="class in org.jivesoftware.openfire.pubsub"><B>PREV CLASS</B></A> <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> <A HREF="PubSubPersistenceManager.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -