站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletB - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.portlet.test.event
Class PortletB

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.jboss.portal.core.portlet.test.event.PortletB
All Implemented Interfaces:
Portlet

public class PortletB
extends GenericPortlet

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
static class PortletB.Listener
           
 
Field Summary
 
Fields inherited from class javax.portlet.GenericPortlet
 
Constructor Summary
PortletB()
           
 
Method Summary
protected  void doView(RenderRequest request, RenderResponse response)
          Helper method to serve up the mandatory view mode.
 void processAction(ActionRequest request, ActionResponse response)
          Called by the portlet container to allow the portlet to process an action request.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletB

public PortletB()
Method Detail

processAction

public void processAction(ActionRequest request,
                          ActionResponse response)
                   throws PortletException,
                          PortletSecurityException,
                          java.io.IOException
Description copied from class: GenericPortlet
Called by the portlet container to allow the portlet to process an action request. This method is called if the client request was originated by a URL created (by the portlet) with the RenderResponse.createActionURL() method.

The default implementation throws an exception.

Specified by:
processAction in interface Portlet
Overrides:
processAction in class GenericPortlet
Parameters:
request - the action request
response - the action response
Throws:
java.io.IOException - if the streaming causes an I/O problem
PortletException - if the portlet cannot fulfilling the request
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons

doView

protected void doView(RenderRequest request,
                      RenderResponse response)
               throws PortletException,
                      PortletSecurityException,
                      java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the mandatory view mode.

The default implementation throws an exception.

Overrides:
doView in class GenericPortlet
Parameters:
request - the portlet request
response - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem