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

📄 contentreference.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#getMetadata(java.lang.String)">getMetadata</A></B>(java.lang.String&nbsp;metadataName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a metadata attribute associated with the content referenced by this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#getName()">getName</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of this ContentReference.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#getType()">getType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The type of the content referenced by this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#getUri()">getUri</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The URI of the referenced content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#isContentStored()">isContentStored</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>refactored - use isReference instead.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#isReference()">isReference</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag indicating if the content represented by this <code>ContentReference</code> is stored in the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A>, or in an external content provider.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#isVisible()">isVisible</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag indicating if this reference should be displayed in a user interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setContentProvider(java.lang.String)">setContentProvider</A></B>(java.lang.String&nbsp;contentProvider)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <a href="#cp">content provider</a> that hosts the content referenced by this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String&nbsp;description)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the description of this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setDisplayName(java.lang.String)">setDisplayName</A></B>(java.lang.String&nbsp;displayName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the display name of this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setType(java.lang.String)">setType</A></B>(java.lang.String&nbsp;type)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the type of the content referenced by this <code>ContentReference</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setUri(java.lang.String)">setUri</A></B>(java.lang.String&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the URI of the referenced content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setVisible(boolean)">setVisible</A></B>(boolean&nbsp;isVisible)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag indicating if this reference should be displayed in a user interface.</TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="CONTENT_PROVIDER_PDM"><!-- --></A><H3>CONTENT_PROVIDER_PDM</H3><PRE>public static final java.lang.String <B>CONTENT_PROVIDER_PDM</B></PRE><DL><DD>A String constant to represent the <a href="#cp_pdm">Portal Document Manager (PDM)</a> content provider.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setContentProvider(java.lang.String)"><CODE>setContentProvider(String)</CODE></A>, <A HREF="../../../../../constant-values.html#com.ibm.content.binder.model.ContentReference.CONTENT_PROVIDER_PDM">Constant Field Values</A></DL></DL><HR><A NAME="CONTENT_PROVIDER_SIMPLE_VALUE"><!-- --></A><H3>CONTENT_PROVIDER_SIMPLE_VALUE</H3><PRE>public static final java.lang.String <B>CONTENT_PROVIDER_SIMPLE_VALUE</B></PRE><DL><DD>A String constant to represent the <a href="#cp_sv">Simple Value</a> content provider.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#setContentProvider(java.lang.String)"><CODE>setContentProvider(String)</CODE></A>, <A HREF="../../../../../constant-values.html#com.ibm.content.binder.model.ContentReference.CONTENT_PROVIDER_SIMPLE_VALUE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>The name of this ContentReference. It must be unique within the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> this <code>ContentReference</code> is attached to. <br><br> This property can only be set when the <code>ContentReference</code> is created. See <a href="#creation">there</a> for how to create a <code>ContentReference</code>.<P><DD><DL><DT><B>Returns:</B><DD>the name of this ContentReference.</DL></DD></DL><HR><A NAME="getDisplayName()"><!-- --></A><H3>getDisplayName</H3><PRE>public java.lang.String <B>getDisplayName</B>()</PRE><DL><DD>The display name of this <code>ContentReference</code>. <br><br>  This is the name used to identify this content reference in a user interface. If none is specified, it defaults to the name (see <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html#getName()"><CODE>getName()</CODE></A>.<P><DD><DL><DT><B>Returns:</B><DD>the display name of this ContentReference.</DL></DD></DL><HR><A NAME="setDisplayName(java.lang.String)"><!-- --></A><H3>setDisplayName</H3><PRE>public void <B>setDisplayName</B>(java.lang.String&nbsp;displayName)</PRE><DL><DD>Sets the display name of this <code>ContentReference</code>. <br><br>  This is the name used to identify this <code>ContentReference</code> in a user interface.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - the display name of this <code>ContentReference</code>.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>The description of this <code>ContentReference</code>.<P><DD><DL><DT><B>Returns:</B><DD>the description as a String.</DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the description of this <code>ContentReference</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - The description of this <code>ContentReference</code>.</DL></DD></DL><HR><A NAME="isContentStored()"><!-- --></A><H3>isContentStored</H3><PRE>public boolean <B>isContentStored</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>refactored - use isReference instead.</I><P><DD>Flag indicating if the content represented by this <code>ContentReference</code> is stored in the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A>, or in an external content provider. <br><br> 

⌨️ 快捷键说明

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