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

MarkupPortlet - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.wsrp.portlet
Class MarkupPortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended byorg.jboss.portal.test.wsrp.portlet.MarkupPortlet
All Implemented Interfaces:
Portlet

public class MarkupPortlet
extends GenericPortlet

Since:
2.4

Constructor Summary
MarkupPortlet()
           
 
Method Summary
protected  void doEdit(RenderRequest request, RenderResponse response)
          Helper method to serve up the edit mode.
protected  void doView(RenderRequest request, RenderResponse response)
          Helper method to serve up the mandatory view mode.
 void processAction(ActionRequest req, ActionResponse resp)
          Called by the portlet container to allow the portlet to process an action request.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, 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

MarkupPortlet

public MarkupPortlet()
Method Detail

processAction

public void processAction(ActionRequest req,
                          ActionResponse resp)
                   throws PortletModeException,
                          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:
req - the action request
resp - the action response
Throws:
java.io.IOException - if the streaming causes an I/O problem
PortletModeException

doView

protected void doView(RenderRequest request,
                      RenderResponse response)
               throws 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:
java.io.IOException - if the streaming causes an I/O problem

doEdit

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

The default implementation throws an exception.

Overrides:
doEdit 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