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

📄 accessmodel.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="whitelist"><!-- --></A><H3>whitelist</H3><PRE>public static final <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>whitelist</B></PRE><DL><DL></DL></DL><HR><A NAME="open"><!-- --></A><H3>open</H3><PRE>public static final <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>open</B></PRE><DL><DL></DL></DL><HR><A NAME="authorize"><!-- --></A><H3>authorize</H3><PRE>public static final <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>authorize</B></PRE><DL><DL></DL></DL><HR><A NAME="presence"><!-- --></A><H3>presence</H3><PRE>public static final <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>presence</B></PRE><DL><DL></DL></DL><HR><A NAME="roster"><!-- --></A><H3>roster</H3><PRE>public static final <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>roster</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AccessModel()"><!-- --></A><H3>AccessModel</H3><PRE>public <B>AccessModel</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="valueOf(java.lang.String)"><!-- --></A><H3>valueOf</H3><PRE>public static <A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AccessModel.html" title="class in org.jivesoftware.openfire.pubsub.models">AccessModel</A> <B>valueOf</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;name)</PRE><DL><DD>Returns the specific subclass of AccessModel as specified by the access model name. If an unknown name is specified then an IllegalArgumentException is going to be thrown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the subsclass.<DT><B>Returns:</B><DD>the specific subclass of AccessModel as specified by the access         model name.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public abstract <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>getName</B>()</PRE><DL><DD>Returns the name as defined by the JEP-60 spec.<P><DD><DL><DT><B>Returns:</B><DD>the name as defined by the JEP-60 spec.</DL></DD></DL><HR><A NAME="canSubscribe(org.jivesoftware.openfire.pubsub.Node, org.xmpp.packet.JID, org.xmpp.packet.JID)"><!-- --></A><H3>canSubscribe</H3><PRE>public abstract boolean <B>canSubscribe</B>(<A HREF="../../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;node,                                     <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;owner,                                     <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;subscriber)</PRE><DL><DD>Returns true if the entity is allowed to subscribe to the specified node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node that the subscriber is trying to subscribe to.<DD><CODE>owner</CODE> - the JID of the owner of the subscription.<DD><CODE>subscriber</CODE> - the JID of the subscriber.<DT><B>Returns:</B><DD>true if the subscriber is allowed to subscribe to the specified node.</DL></DD></DL><HR><A NAME="canAccessItems(org.jivesoftware.openfire.pubsub.Node, org.xmpp.packet.JID, org.xmpp.packet.JID)"><!-- --></A><H3>canAccessItems</H3><PRE>public abstract boolean <B>canAccessItems</B>(<A HREF="../../../../../org/jivesoftware/openfire/pubsub/Node.html" title="class in org.jivesoftware.openfire.pubsub">Node</A>&nbsp;node,                                       <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;owner,                                       <A HREF="../../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A>&nbsp;subscriber)</PRE><DL><DD>Returns true if the entity is allowed to get the node published items.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>node</CODE> - the node that the entity is trying to get the node's items.<DD><CODE>owner</CODE> - the JID of the owner of the subscription.<DD><CODE>subscriber</CODE> - the JID of the subscriber.<DT><B>Returns:</B><DD>true if the subscriber is allowed to get the node's published items.</DL></DD></DL><HR><A NAME="getSubsriptionError()"><!-- --></A><H3>getSubsriptionError</H3><PRE>public abstract <A HREF="../../../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A> <B>getSubsriptionError</B>()</PRE><DL><DD>Returns the error condition that should be returned to the subscriber when subscription is not allowed.<P><DD><DL><DT><B>Returns:</B><DD>the error condition that should be returned to the subscriber when         subscription is not allowed.</DL></DD></DL><HR><A NAME="getSubsriptionErrorDetail()"><!-- --></A><H3>getSubsriptionErrorDetail</H3><PRE>public abstract org.dom4j.Element <B>getSubsriptionErrorDetail</B>()</PRE><DL><DD>Returns the error element that should be returned to the subscriber as error detail when subscription is not allowed. The returned element is created each time this message is sent so it is safe to include the returned element in the parent element.<P><DD><DL><DT><B>Returns:</B><DD>the error element that should be returned to the subscriber as         error detail when subscription is not allowed.</DL></DD></DL><HR><A NAME="isAuthorizationRequired()"><!-- --></A><H3>isAuthorizationRequired</H3><PRE>public abstract boolean <B>isAuthorizationRequired</B>()</PRE><DL><DD>Returns true if the new subscription should be authorized by a node owner.<P><DD><DL><DT><B>Returns:</B><DD>true if the new subscription should be authorized by a node owner.</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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../org/jivesoftware/openfire/pubsub/models/AuthorizeAccess.html" title="class in org.jivesoftware.openfire.pubsub.models"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?org/jivesoftware/openfire/pubsub/models/AccessModel.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AccessModel.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -