📄 mucpersistencemanager.html
字号:
<DT><B>Returns:</B><DD>true if the property value exists and is set to <tt>"true"</tt> (ignoring case). Otherwise <tt>false</tt> is returned.</DL></DD></DL><HR><A NAME="getBooleanProperty(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>getBooleanProperty</H3><PRE>public static boolean <B>getBooleanProperty</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> subdomain, <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> name, boolean defaultValue)</PRE><DL><DD>Returns a boolean value Jive property. If the property doesn't exist, the <tt>defaultValue</tt> will be returned. If the specified property can't be found, or if the value is not a number, the <tt>defaultValue</tt> will be returned.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to retrieve a property from<DD><CODE>name</CODE> - the name of the property to return.<DD><CODE>defaultValue</CODE> - value returned if the property doesn't exist.<DT><B>Returns:</B><DD>true if the property value exists and is set to <tt>"true"</tt> (ignoring case). Otherwise <tt>false</tt> is returned.</DL></DD></DL><HR><A NAME="getPropertyNames(java.lang.String, java.lang.String)"><!-- --></A><H3>getPropertyNames</H3><PRE>public static <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="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> <B>getPropertyNames</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> subdomain, <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> parent)</PRE><DL><DD>Return all immediate children property names of a parent Jive property as a list of strings, or an empty list if there are no children. For example, given the properties <tt>X.Y.A</tt>, <tt>X.Y.B</tt>, <tt>X.Y.C</tt> and <tt>X.Y.C.D</tt>, then the immediate child properties of <tt>X.Y</tt> are <tt>A</tt>, <tt>B</tt>, and <tt>C</tt> (<tt>C.D</tt> would not be returned using this method).<p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to retrieve a property from<DD><CODE>parent</CODE> - the root "node" of the properties to retrieve<DT><B>Returns:</B><DD>a List of all immediate children property names (Strings).</DL></DD></DL><HR><A NAME="getProperties(java.lang.String, java.lang.String)"><!-- --></A><H3>getProperties</H3><PRE>public static <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="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> <B>getProperties</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> subdomain, <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> parent)</PRE><DL><DD>Return all immediate children property values of a parent Jive property as a list of strings, or an empty list if there are no children. For example, given the properties <tt>X.Y.A</tt>, <tt>X.Y.B</tt>, <tt>X.Y.C</tt> and <tt>X.Y.C.D</tt>, then the immediate child properties of <tt>X.Y</tt> are <tt>X.Y.A</tt>, <tt>X.Y.B</tt>, and <tt>X.Y.C</tt> (the value of <tt>X.Y.C.D</tt> would not be returned using this method).<p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to retrieve a property from<DD><CODE>parent</CODE> - the name of the parent property to return the children for.<DT><B>Returns:</B><DD>all child property values for the given parent.</DL></DD></DL><HR><A NAME="getPropertyNames(java.lang.String)"><!-- --></A><H3>getPropertyNames</H3><PRE>public static <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="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> <B>getPropertyNames</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> subdomain)</PRE><DL><DD>Returns all MUC service property names.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to retrieve a property from<DT><B>Returns:</B><DD>a List of all property names (Strings).</DL></DD></DL><HR><A NAME="setProperty(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>setProperty</H3><PRE>public static void <B>setProperty</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> subdomain, <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> name, <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> value)</PRE><DL><DD>Sets a Jive property. If the property doesn't already exists, a new one will be created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to set a property for<DD><CODE>name</CODE> - the name of the property being set.<DD><CODE>value</CODE> - the value of the property being set.</DL></DD></DL><HR><A NAME="setLocalProperty(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>setLocalProperty</H3><PRE>public static void <B>setLocalProperty</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> subdomain, <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> name, <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> value)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setProperties(java.lang.String, java.util.Map)"><!-- --></A><H3>setProperties</H3><PRE>public static void <B>setProperties</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> subdomain, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<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>,<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>> propertyMap)</PRE><DL><DD>Sets multiple Jive properties at once. If a property doesn't already exists, a new one will be created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to set properties for<DD><CODE>propertyMap</CODE> - a map of properties, keyed on property name.</DL></DD></DL><HR><A NAME="deleteProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>deleteProperty</H3><PRE>public static void <B>deleteProperty</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> subdomain, <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> name)</PRE><DL><DD>Deletes a Jive property. If the property doesn't exist, the method does nothing. All children of the property will be deleted as well.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to delete a property from<DD><CODE>name</CODE> - the name of the property to delete.</DL></DD></DL><HR><A NAME="deleteLocalProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>deleteLocalProperty</H3><PRE>public static void <B>deleteLocalProperty</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> subdomain, <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> name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="refreshProperties(java.lang.String)"><!-- --></A><H3>refreshProperties</H3><PRE>public static void <B>refreshProperties</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> subdomain)</PRE><DL><DD>Resets (reloads) the properties for a specified subdomain.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subdomain</CODE> - the subdomain of the service to reload properties for.</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/muc/spi/LocalMUCUser.html" title="class in org.jivesoftware.openfire.muc.spi"><B>PREV CLASS</B></A> <A HREF="../../../../../org/jivesoftware/openfire/muc/spi/MUCServiceProperties.html" title="class in org.jivesoftware.openfire.muc.spi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/jivesoftware/openfire/muc/spi/MUCPersistenceManager.html" target="_top"><B>FRAMES</B></A> <A HREF="MUCPersistenceManager.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 + -