?? binderportletserviceibm.html
字號:
</DL><HR><A NAME="grantAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><!-- --></A><H3>grantAccess</H3><PRE>public void <B>grantAccess</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String binderId, <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A> accessLevel, java.lang.String[] wmmIds) throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD><B>Deprecated.</B> <DD>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. <br><br>The possible access levels are listed in <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A>.<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> access rights are to be changed.<DD><CODE>accessLevel</CODE> - the level of access to be granted: see <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A>.<DD><CODE>wmmIds</CODE> - the WMM IDs of the users to be granted access.<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="revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><!-- --></A><H3>revokeAccess</H3><PRE>public void <B>revokeAccess</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String binderId, <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A> accessLevel, java.lang.String[] wmmIds) throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD><B>Deprecated.</B> <DD>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. <br><br>The possible access levels are listed in <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A>.<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> access rights are to be changed.<DD><CODE>accessLevel</CODE> - the level of access to be revoked: see <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A>.<DD><CODE>wmmIds</CODE> - the WMM IDs of the users to be removed access.<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="hasAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level)"><!-- --></A><H3>hasAccess</H3><PRE>public boolean <B>hasAccess</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String binderId, <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A> accessLevel) throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD><B>Deprecated.</B> <DD>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. Access can be set explicitely on a Portal resource (such as a Binder), or inherited from a parent resource. Only access explicitely granted to a Binder (using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#grantAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>grantAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>) can be revoked using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>. If the access to a Binder is inherited from a parent resource, it cannot be revoked using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>.<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> access rights are to be changed.<DD><CODE>accessLevel</CODE> - one of the <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A> constant.<DT><B>Returns:</B><DD><code>true</code> if the current user has the access, <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><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="hasAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String)"><!-- --></A><H3>hasAccess</H3><PRE>public boolean <B>hasAccess</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String binderId, <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.Level.html" title="class in com.ibm.content.binder.model">BinderAccessLevel.Level</A> accessLevel, java.lang.String wmmId) throws <A HREF="../../../../../com/ibm/content/binder/exception/BinderException.html" title="class in com.ibm.content.binder.exception">BinderException</A></PRE><DL><DD><B>Deprecated.</B> <DD>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. Access can be set explicitely on a Portal resource (such as a Binder), or inherited from a parent resource. Only access explicitely granted to a Binder (using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#grantAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>grantAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>) can be revoked using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>. If the access to a Binder is inherited from a parent resource, it cannot be revoked using <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletServiceIBM.html#revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])"><CODE>revokeAccess(org.apache.jetspeed.portlet.PortletRequest, java.lang.String, com.ibm.content.binder.model.BinderAccessLevel.Level, java.lang.String[])</CODE></A>.<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> access rights are to be changed.<DD><CODE>accessLevel</CODE> - one of the <A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><CODE>BinderAccessLevel</CODE></A> constant.<DD><CODE>wmmId</CODE> - the WMM ID of the user to check for access rights.<DT><B>Returns:</B><DD><code>true</code> if the user has the access, <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><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><!-- ========= 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=3 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/ibm/content/binder/service/BinderPortletService.html" title="interface in com.ibm.content.binder.service"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="BinderPortletServiceIBM.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -