?? wpsstrutsviewactioncommand.html
字號:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#addAttributeTypeToSave(java.lang.Class)">addAttributeTypeToSave</A></B>(java.lang.Class attributeType)</CODE><BR> Adds the class type of an attribute from the request that needs to be saved if present for the execution of the IViewCommand in Portal's render phase.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#addParameterNameToSave(java.lang.String)">addParameterNameToSave</A></B>(java.lang.String parameterName)</CODE><BR> Adds the name of an parameter from the object request that needs to be saved if present for the execution of the IViewCommand in Portal's render phase.</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><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Executes the given command given the request and response objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#getUri(org.apache.jetspeed.portlet.PortletRequest)">getUri</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</CODE><BR> Returns the URI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#removeAttributeNameToSave(java.lang.String)">removeAttributeNameToSave</A></B>(java.lang.String attributeName)</CODE><BR> Removes the name of an attribute from the list of attribute names to save.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#removeAttributeTypeToSave(java.lang.Class)">removeAttributeTypeToSave</A></B>(java.lang.Class attributeType)</CODE><BR> Removes the class type of the request attribute from the list of attributes to save.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#removeParameterNameToSave(java.lang.String)">removeParameterNameToSave</A></B>(java.lang.String parameterName)</CODE><BR> Removes the name of a parameter from the list of parameter names to save.</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><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#saveAttributes(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">saveAttributes</A></B>(javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Saves the attributes specific to JSP rendering.</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><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewActionCommand.html#setUri(org.apache.jetspeed.portlet.PortletRequest, java.lang.String)">setUri</A></B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request, java.lang.String uri)</CODE><BR> Sets the URI for this command.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.ibm.wps.portlets.struts.WpsStrutsViewCommand"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.ibm.wps.portlets.struts.<A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#addAttribute(java.lang.Object, java.util.List)">addAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#execute(org.apache.jetspeed.portlet.PortletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">execute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getLastModified(org.apache.jetspeed.portlet.PortletRequest)">getLastModified</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getPrefix(org.apache.jetspeed.portlet.PortletRequest)">getPrefix</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getRemoveOnModeChange()">getRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getSavedAttributes()">getSavedAttributes</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#getSavedCommand(org.apache.jetspeed.portlet.PortletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">getSavedCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#removeAttribute(java.lang.Object, java.util.List)">removeAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#repopulateRequest(org.apache.jetspeed.portlet.PortletRequest)">repopulateRequest</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAsAttribute(java.lang.String, java.lang.Object)">saveAsAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAsParameter(java.lang.String, java.lang.String)">saveAsParameter</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAttribute(javax.servlet.http.HttpServletRequest, java.lang.String)">saveAttribute</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveAttributes(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext, java.util.List, java.util.List)">saveAttributes</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveCommand(javax.servlet.http.HttpServletRequest)">saveCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveCommand(javax.servlet.http.HttpServletRequest, java.lang.String)">saveCommand</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveParameter(javax.servlet.http.HttpServletRequest, java.lang.String)">saveParameter</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#saveParameters(javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext, java.util.List)">saveParameters</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setLastModified(org.apache.jetspeed.portlet.PortletRequest, long)">setLastModified</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setPrefix(org.apache.jetspeed.portlet.PortletRequest, java.lang.String)">setPrefix</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setRemoveOnModeChange(boolean)">setRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html#setSavedAttributes(java.util.Map)">setSavedAttributes</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <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="log"><!-- --></A><H3>log</H3><PRE>protected static org.apache.commons.logging.Log <B>log</B></PRE><DL><DD>The commons-logging instance for this class.<P><DL></DL></DL><HR><A NAME="URI"><!-- --></A><H3>URI</H3><PRE>protected static final java.lang.String <B>URI</B></PRE><DL><DD>Name of the request attribute for the URI string.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.wps.portlets.struts.WpsStrutsViewActionCommand.URI">Constant Field Values</A></DL></DL><HR><A NAME="messages"><!-- --></A><H3>messages</H3><PRE>protected static org.apache.struts.util.MessageResources <B>messages</B></PRE><DL><DD>The message resources for the Struts Portlet Framework.<P><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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="WpsStrutsViewActionCommand()"><!-- --></A><H3>WpsStrutsViewActionCommand</H3><PRE>public <B>WpsStrutsViewActionCommand</B>()</PRE><DL><DD>Constructs the WspStrutsViewActionCommand object.<P></DL><HR><A NAME="WpsStrutsViewActionCommand(java.lang.String, org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>WpsStrutsViewActionCommand</H3><PRE>public <B>WpsStrutsViewActionCommand</B>(java.lang.String uri, <A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</PRE><DL><DD>Constructs the StrutsViewActionCommand object. The URI is the path for a Struts action and matches the configured Struts servlet mapping.<P><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the uri path to the JSP<DD><CODE>request</CODE> - The request object to save context information from</DL><!-- ============ 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="getUri(org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>getUri</H3><PRE>public java.lang.String <B>getUri</B>(<A HREF="../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A> request)</PRE><DL><DD>Returns the URI. The URI is the path for a Struts action and matches the configured Struts servlet mapping.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DT><B>Returns:</B><DD>String the uri</DL></DD></DL><HR>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -