org.jboss.portal.portlet.impl
Class ActionResponseImpl

java.lang.Object
  extended by org.jboss.portal.portlet.impl.PortletResponseImpl
      extended by org.jboss.portal.portlet.impl.ActionResponseImpl
All Implemented Interfaces:
ActionResponse, PortletResponse
Direct Known Subclasses:
JBossActionResponse

public class ActionResponseImpl
extends PortletResponseImpl
implements ActionResponse


Field Summary
protected  WindowContext portletWindowContext
           
protected  Result result
           
protected  Window window
           
 
Fields inherited from class org.jboss.portal.portlet.impl.PortletResponseImpl
properties, req, resp
 
Constructor Summary
ActionResponseImpl(WindowContext portletWindowContext, Window window, PortalRequest req, PortalResponse resp, Properties properties)
           
 
Method Summary
 Result getResult()
           
 void sendRedirect(java.lang.String location)
           
 void setPortletMode(PortletMode portletMode)
           
 void setRenderParameter(java.lang.String name, java.lang.String value)
           
 void setRenderParameter(java.lang.String name, java.lang.String[] values)
           
 void setRenderParameters(java.util.Map map)
           
 void setWindowState(WindowState windowState)
           
 
Methods inherited from class org.jboss.portal.portlet.impl.PortletResponseImpl
addProperty, encodeURL, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, encodeURL, setProperty
 

Field Detail

portletWindowContext

protected WindowContext portletWindowContext

result

protected Result result

window

protected Window window
Constructor Detail

ActionResponseImpl

public ActionResponseImpl(WindowContext portletWindowContext,
                          Window window,
                          PortalRequest req,
                          PortalResponse resp,
                          Properties properties)
Method Detail

getResult

public Result getResult()

setWindowState

public void setWindowState(WindowState windowState)
                    throws WindowStateException
Specified by:
setWindowState in interface ActionResponse
Throws:
WindowStateException

setPortletMode

public void setPortletMode(PortletMode portletMode)
                    throws PortletModeException
Specified by:
setPortletMode in interface ActionResponse
Throws:
PortletModeException

sendRedirect

public void sendRedirect(java.lang.String location)
                  throws java.io.IOException
Specified by:
sendRedirect in interface ActionResponse
Throws:
java.io.IOException

setRenderParameters

public void setRenderParameters(java.util.Map map)
Specified by:
setRenderParameters in interface ActionResponse

setRenderParameter

public void setRenderParameter(java.lang.String name,
                               java.lang.String value)
Specified by:
setRenderParameter in interface ActionResponse

setRenderParameter

public void setRenderParameter(java.lang.String name,
                               java.lang.String[] values)
Specified by:
setRenderParameter in interface ActionResponse