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

📄 binderportletservice.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                java.lang.String&nbsp;binderId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> with the given ID exists.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model">Binder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/content/binder/service/BinderPortletService.html#getBinder(javax.portlet.PortletRequest, java.lang.String)">getBinder</A></B>(javax.portlet.PortletRequest&nbsp;request,          java.lang.String&nbsp;binderId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves an existing <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> given its ID.</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/service/BinderPortletService.html#grantAccess(javax.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])">grantAccess</A></B>(javax.portlet.PortletRequest&nbsp;request,            java.lang.String&nbsp;binderId,            <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A>&nbsp;accessLevel,            java.lang.String[]&nbsp;wmmIds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grant a level of access to a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> to users whose WMM IDs are provided.</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/service/BinderPortletService.html#hasAccess(javax.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level)">hasAccess</A></B>(javax.portlet.PortletRequest&nbsp;request,          java.lang.String&nbsp;binderId,          <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A>&nbsp;accessLevel)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if the current user has a given access on the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> whose ID is provided.</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/service/BinderPortletService.html#hasAccess(javax.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String)">hasAccess</A></B>(javax.portlet.PortletRequest&nbsp;request,          java.lang.String&nbsp;binderId,          <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A>&nbsp;accessLevel,          java.lang.String&nbsp;wmmId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if a given user has a given access on the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> whose ID is provided.</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/service/BinderPortletService.html#revokeAccess(javax.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])">revokeAccess</A></B>(javax.portlet.PortletRequest&nbsp;request,             java.lang.String&nbsp;binderId,             <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A>&nbsp;accessLevel,             java.lang.String[]&nbsp;wmmIds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revoke a granted level of access to a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> to users whose WMM IDs are provided.</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/service/BinderPortletService.html#storeBinder(javax.portlet.PortletRequest, com.ibm.content.binder.model.Binder)">storeBinder</A></B>(javax.portlet.PortletRequest&nbsp;request,            <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model">Binder</A>&nbsp;binder)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Persists a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> instance in the data store, or update the persisted version of an existing <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A>.</TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="doesBinderExist(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>doesBinderExist</H3><PRE>public boolean <B>doesBinderExist</B>(javax.portlet.PortletRequest&nbsp;request,                               java.lang.String&nbsp;binderId)                        throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD>Checks if a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> with the given ID exists.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>binderId</CODE> - the ID of the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> whose existence is checked<DT><B>Returns:</B><DD><code>true</code> if the Binder exists, <code>false</code> 					otherwise.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></CODE></DL></DD></DL><HR><A NAME="getBinder(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>getBinder</H3><PRE>public <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model">Binder</A> <B>getBinder</B>(javax.portlet.PortletRequest&nbsp;request,                        java.lang.String&nbsp;binderId)                 throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD>Retrieves an existing <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> given its ID.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the current portlet request<DD><CODE>binderId</CODE> - the ID of the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> to retrieve<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> instance whose ID is provided<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></CODE></DL></DD></DL><HR><A NAME="storeBinder(javax.portlet.PortletRequest, com.ibm.content.binder.model.Binder)"><!-- --></A><H3>storeBinder</H3><PRE>public java.lang.String <B>storeBinder</B>(javax.portlet.PortletRequest&nbsp;request,                                    <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model">Binder</A>&nbsp;binder)                             throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD>Persists a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> instance in the data store, or update the persisted version of an existing <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the current portlet request<DD><CODE>binder</CODE> - the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> instance to persist<DT><B>Returns:</B><DD>the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> ID, as a String<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></CODE><DD><CODE><A HREF="../../../../../com/ibm/content/binder/exception/BinderNotFoundException.html" title="class in com.ibm.content.binder.exception">BinderNotFoundException</A></CODE> - if no <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> with ID binderId exists</DL></DD></DL><HR><A NAME="deleteBinder(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>deleteBinder</H3><PRE>public void <B>deleteBinder</B>(javax.portlet.PortletRequest&nbsp;request,                         java.lang.String&nbsp;binderId)                  throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD>Remove a <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> from the data store, effectively destroying it.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the current portlet request<DD><CODE>binderId</CODE> - the ID of the <A HREF="../../../../../com/ibm/content/binder/model/Binder.html" title="interface in com.ibm.content.binder.model"><CODE>Binder</CODE></A> to delete.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></CODE></DL></DD></DL>

⌨️ 快捷键说明

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