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

📄 commandmanagerfactory.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="CommandManagerFactory()"><!-- --></A><H3>CommandManagerFactory</H3><PRE>public <B>CommandManagerFactory</B>()</PRE><DL><DD>Constructs the factory object.<P></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="setFactory(javax.servlet.ServletContext, com.ibm.wps.portlets.struts.plugins.CommandManagerFactory)"><!-- --></A><H3>setFactory</H3><PRE>public static void <B>setFactory</B>(javax.servlet.ServletContext&nbsp;servletContext,                              <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/CommandManagerFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">CommandManagerFactory</A>&nbsp;factory)</PRE><DL><DD>Sets a new CommandManagerFactory object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>servletContext</CODE> - the servlet context<DD><CODE>factory</CODE> - the factory object</DL></DD></DL><HR><A NAME="getFactory(javax.servlet.ServletContext)"><!-- --></A><H3>getFactory</H3><PRE>public static <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/CommandManagerFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">CommandManagerFactory</A> <B>getFactory</B>(javax.servlet.ServletContext&nbsp;servletContext)</PRE><DL><DD>Gets the CommandManagerFactory object for this context.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>servletContext</CODE> - the servlet context<DT><B>Returns:</B><DD>returns the CommandManagerFactory object</DL></DD></DL><HR><A NAME="getCommandPrefix(org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>getCommandPrefix</H3><PRE>public java.lang.String <B>getCommandPrefix</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request)</PRE><DL><DD>Returns the command prefix determined from the request object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DT><B>Returns:</B><DD>the command prefix</DL></DD></DL><HR><A NAME="getCommand(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><!-- --></A><H3>getCommand</H3><PRE>public abstract <A HREF="../../../../../../com/ibm/wps/portlets/struts/IViewCommand.html" title="interface in com.ibm.wps.portlets.struts">IViewCommand</A> <B>getCommand</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request,                                        <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A>&nbsp;response)                                 throws <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Gets the IViewCommand. The portal mode will be obtained from the PortletRequest.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>response</CODE> - the portlet response object, can be null<DT><B>Returns:</B><DD>returns the IViewCommand<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="getCommand(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, java.lang.String)"><!-- --></A><H3>getCommand</H3><PRE>public abstract <A HREF="../../../../../../com/ibm/wps/portlets/struts/IViewCommand.html" title="interface in com.ibm.wps.portlets.struts">IViewCommand</A> <B>getCommand</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request,                                        <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A>&nbsp;response,                                        java.lang.String&nbsp;prefix)                                 throws <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Gets the IViewCommand.  The prefix (that is, portlet mode) can be specified and may differ from the mode obtained from the request object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>response</CODE> - the portlet request object, can be null<DD><CODE>prefix</CODE> - the prefix<DT><B>Returns:</B><DD>returns the IViewCommand<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="setCommand(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.IViewCommand)"><!-- --></A><H3>setCommand</H3><PRE>public abstract void <B>setCommand</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request,                                <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A>&nbsp;response,                                <A HREF="../../../../../../com/ibm/wps/portlets/struts/IViewCommand.html" title="interface in com.ibm.wps.portlets.struts">IViewCommand</A>&nbsp;command)                         throws <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Sets the IViewCommand.  The mode should be obtained from the PortletRequest.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>response</CODE> - the portlet response object, can be null<DD><CODE>command</CODE> - the command.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="setCommand(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, com.ibm.wps.portlets.struts.IViewCommand, java.lang.String)"><!-- --></A><H3>setCommand</H3><PRE>public abstract void <B>setCommand</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request,                                <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A>&nbsp;response,                                <A HREF="../../../../../../com/ibm/wps/portlets/struts/IViewCommand.html" title="interface in com.ibm.wps.portlets.struts">IViewCommand</A>&nbsp;command,                                java.lang.String&nbsp;prefix)                         throws <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Sets the IViewCommand.   The prefix (that is, portlet mode) can be specified and may differ from the mode obtained from the request object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>response</CODE> - the portlet response object, can be null<DD><CODE>command</CODE> - the command.<DD><CODE>prefix</CODE> - the prefix<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="removeCommand(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse, java.lang.String)"><!-- --></A><H3>removeCommand</H3><PRE>public abstract void <B>removeCommand</B>(<A HREF="../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request,                                   <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A>&nbsp;response,                                   java.lang.String&nbsp;prefix)                            throws <A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD>Removes the IViewCommand.  The prefix (that is, portlet mode) can be specified and may differ from the mode obtained from the request object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>response</CODE> - the portlet response object, can be null<DD><CODE>prefix</CODE> - the prefix<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE> - if the request cannot be fulfilled</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/DefaultErrorResponseFormatter.html" title="class in com.ibm.wps.portlets.struts.plugins"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CommandManagerFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -