📄 portletmode.html.svn-base
字号:
<BR> Sets the portlet mode of a portlet to the given portlet mode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PortletURL.</B><B><A HREF="../../../javax/portlet/PortletURL.html#setPortletMode(javax.portlet.PortletMode)">setPortletMode</A></B>(<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> portletMode)</CODE><BR> Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../javax/portlet/package-summary.html">javax.portlet</A> with type arguments of type <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>RenderResponse.</B><B><A HREF="../../../javax/portlet/RenderResponse.html#setNextPossiblePortletModes(java.util.Collection)">setNextPossiblePortletModes</A></B>(java.util.Collection<<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A>> portletModes)</CODE><BR> This method allows the portlet to tell the portal the next possible portlet modes that the make sense from the portlet point of view.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../javax/portlet/package-summary.html">javax.portlet</A> with parameters of type <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/portlet/PortletModeException.html#PortletModeException(java.lang.String, javax.portlet.PortletMode)">PortletModeException</A></B>(java.lang.String text, <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> mode)</CODE><BR> Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/portlet/PortletModeException.html#PortletModeException(java.lang.String, java.lang.Throwable, javax.portlet.PortletMode)">PortletModeException</A></B>(java.lang.String text, java.lang.Throwable cause, <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> mode)</CODE><BR> Constructs a new portlet mode exception when the portlet needs to do the following: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message include the portlet mode that caused this exception </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/portlet/PortletModeException.html#PortletModeException(java.lang.Throwable, javax.portlet.PortletMode)">PortletModeException</A></B>(java.lang.Throwable cause, <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> mode)</CODE><BR> Constructs a new portlet mode exception when the portlet needs to throw an exception.</TD></TR></TABLE> <P><A NAME="javax.portlet.filter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">Uses of <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> in <A HREF="../../../javax/portlet/filter/package-summary.html">javax.portlet.filter</A></FONT></TH></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../javax/portlet/filter/package-summary.html">javax.portlet.filter</A> that return <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></CODE></FONT></TD><TD><CODE><B>PortletRequestWrapper.</B><B><A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPortletMode()">getPortletMode</A></B>()</CODE><BR> The default behavior of this method is to call <code>getPortletMode()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></CODE></FONT></TD><TD><CODE><B>EventResponseWrapper.</B><B><A HREF="../../../javax/portlet/filter/EventResponseWrapper.html#getPortletMode()">getPortletMode</A></B>()</CODE><BR> The default behavior of this method is to call <code>getPortletMode()</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></CODE></FONT></TD><TD><CODE><B>ActionResponseWrapper.</B><B><A HREF="../../../javax/portlet/filter/ActionResponseWrapper.html#getPortletMode()">getPortletMode</A></B>()</CODE><BR> The default behavior of this method is to call <code>getPortletMode()</code> on the wrapped response object.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../javax/portlet/filter/package-summary.html">javax.portlet.filter</A> with parameters of type <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>PortletRequestWrapper.</B><B><A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isPortletModeAllowed(javax.portlet.PortletMode)">isPortletModeAllowed</A></B>(<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> mode)</CODE><BR> The default behavior of this method is to call <code>isPortletModeAllowed(mode)</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>EventResponseWrapper.</B><B><A HREF="../../../javax/portlet/filter/EventResponseWrapper.html#setPortletMode(javax.portlet.PortletMode)">setPortletMode</A></B>(<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> portletMode)</CODE><BR> The default behavior of this method is to call <code>setPortletMode(portletMode)</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>ActionResponseWrapper.</B><B><A HREF="../../../javax/portlet/filter/ActionResponseWrapper.html#setPortletMode(javax.portlet.PortletMode)">setPortletMode</A></B>(<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> portletMode)</CODE><BR> The default behavior of this method is to call <code>setPortletMode(portletMode)</code> on the wrapped response object.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../javax/portlet/filter/package-summary.html">javax.portlet.filter</A> with type arguments of type <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>RenderResponseWrapper.</B><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setNextPossiblePortletModes(java.util.Collection)">setNextPossiblePortletModes</A></B>(java.util.Collection<<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A>> portletModes)</CODE><BR> The default behavior of this method is to call <code>setNextPossiblePortletModes()</code> on the wrapped response object.</TD></TR></TABLE> <P><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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</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-files/index-1.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"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/portlet/\class-usePortletMode.html" target="_top"><B>FRAMES</B></A> <A HREF="PortletMode.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></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -