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

📄 portletadapter.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 4 页
字号:
init</H3><PRE>public void <B>init</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletConfig.html" title="interface in org.apache.jetspeed.portlet">PortletConfig</A>&nbsp;config)          throws <A HREF="../../../../org/apache/jetspeed/portlet/UnavailableException.html" title="class in org.apache.jetspeed.portlet">UnavailableException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to remember the portlet configuration for later use.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#init(org.apache.jetspeed.portlet.PortletConfig)">init</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - the portlet configuration<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/UnavailableException.html" title="class in org.apache.jetspeed.portlet">UnavailableException</A></CODE> - if an exception has occurrred that interferes                   with the portlet's normal initialization</DL></DD></DL><HR><A NAME="destroy(org.apache.jetspeed.portlet.PortletConfig)"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletConfig.html" title="interface in org.apache.jetspeed.portlet">PortletConfig</A>&nbsp;config)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to do nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#destroy(org.apache.jetspeed.portlet.PortletConfig)">destroy</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - the portlet configuration</DL></DD></DL><HR><A NAME="initConcrete(org.apache.jetspeed.portlet.PortletSettings)"><!-- --></A><H3>initConcrete</H3><PRE>public void <B>initConcrete</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletSettings.html" title="interface in org.apache.jetspeed.portlet">PortletSettings</A>&nbsp;settings)                  throws <A HREF="../../../../org/apache/jetspeed/portlet/UnavailableException.html" title="class in org.apache.jetspeed.portlet">UnavailableException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to do nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#initConcrete(org.apache.jetspeed.portlet.PortletSettings)">initConcrete</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the portlet settings<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/UnavailableException.html" title="class in org.apache.jetspeed.portlet">UnavailableException</A></CODE> - if an exception has occurrred that interferes                   with the portlet's normal initialization</DL></DD></DL><HR><A NAME="destroyConcrete(org.apache.jetspeed.portlet.PortletSettings)"><!-- --></A><H3>destroyConcrete</H3><PRE>public void <B>destroyConcrete</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletSettings.html" title="interface in org.apache.jetspeed.portlet">PortletSettings</A>&nbsp;settings)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to do nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#destroyConcrete(org.apache.jetspeed.portlet.PortletSettings)">destroyConcrete</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>settings</CODE> - the portlet settings</DL></DD></DL><HR><A NAME="login(org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>login</H3><PRE>public void <B>login</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request)           throws <A HREF="../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to do nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/PortletSessionListener.html#login(org.apache.jetspeed.portlet.PortletRequest)">login</A></CODE> in interface <CODE><A HREF="../../../../org/apache/jetspeed/portlet/PortletSessionListener.html" title="interface in org.apache.jetspeed.portlet">PortletSessionListener</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#login(org.apache.jetspeed.portlet.PortletRequest)">login</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request<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 portlet has trouble fulfilling the              login request</DL></DD></DL><HR><A NAME="logout(org.apache.jetspeed.portlet.PortletSession)"><!-- --></A><H3>logout</H3><PRE>public void <B>logout</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletSession.html" title="interface in org.apache.jetspeed.portlet">PortletSession</A>&nbsp;session)            throws <A HREF="../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method is to do nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/PortletSessionListener.html#logout(org.apache.jetspeed.portlet.PortletSession)">logout</A></CODE> in interface <CODE><A HREF="../../../../org/apache/jetspeed/portlet/PortletSessionListener.html" title="interface in org.apache.jetspeed.portlet">PortletSessionListener</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#logout(org.apache.jetspeed.portlet.PortletSession)">logout</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the portlet session<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 portlet has trouble fulfilling the              logout</DL></DD></DL><HR><A NAME="getLastModified(org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>getLastModified</H3><PRE>public long <B>getLastModified</B>(<A HREF="../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method defines that the portlet never expires.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#getLastModified(org.apache.jetspeed.portlet.PortletRequest)">getLastModified</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the <code>PortletRequest</code> 			object that is sent to the portlet<DT><B>Returns:</B><DD>a <code>long</code> integer specifying			the time the <code>PortletRequest</code>			object was last modified, in milliseconds			since midnight, January 1, 1970 GMT, or			-1 if the time is not known</DL></DD></DL><HR><A NAME="service(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><!-- --></A><H3>service</H3><PRE>public void <B>service</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>,                    java.io.IOException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>The default implementation of this method routes the request to a set of helper methods that are already split out by portlet mode. Therefore if this portlet only supports the VIEW mode, only the <CODE>doView</CODE> method needs to be implemented.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html#service(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)">service</A></CODE> in class <CODE><A HREF="../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet">Portlet</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request<DD><CODE>response</CODE> - the portlet response<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 portlet has trouble fulfilling the              rendering request<DD><CODE>java.io.IOException</CODE> - if the streaming causes an I/O problem<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/jetspeed/portlet/PortletAdapter.html#doView(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><CODE>doView(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)</CODE></A>, <A HREF="../../../../org/apache/jetspeed/portlet/PortletAdapter.html#doEdit(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><CODE>doEdit(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)</CODE></A>, <A HREF="../../../../org/apache/jetspeed/portlet/PortletAdapter.html#doHelp(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><CODE>doHelp(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)</CODE></A>, <A HREF="../../../../org/apache/jetspeed/portlet/PortletAdapter.html#doConfigure(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><CODE>doConfigure(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)</CODE></A></DL></DD></DL><HR><A NAME="doView(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><!-- --></A><H3>doView</H3><PRE>public void <B>doView</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>,                   java.io.IOException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Helper method to serve up the VIEW mode.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request<DD><CODE>response</CODE> - the portlet response<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/apache/jetspeed/portlet/PortletException.html" title="class in org.apache.jetspeed.portlet">PortletException</A></CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="doEdit(org.apache.jetspeed.portlet.PortletRequest, org.apache.jetspeed.portlet.PortletResponse)"><!-- --></A><H3>doEdit</H3><PRE>public void <B>doEdit</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>,                   java.io.IOException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Helper method to serve up the EDIT mode.<P><DD><DL></DL></DD><DD><DL>

⌨️ 快捷键说明

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