Liferay 6.0.5

com.liferay.portlet
Class StateAwareResponseImpl

java.lang.Object
  extended by com.liferay.portlet.PortletResponseImpl
      extended by com.liferay.portlet.StateAwareResponseImpl
All Implemented Interfaces:
LiferayPortletResponse, PortletResponse, StateAwareResponse
Direct Known Subclasses:
ActionResponseImpl, EventResponseImpl

public abstract class StateAwareResponseImpl
extends PortletResponseImpl
implements StateAwareResponse


Constructor Summary
StateAwareResponseImpl()
           
 
Method Summary
 String getDefaultNamespace()
           
 List<Event> getEvents()
           
 Layout getLayout()
           
 PortletMode getPortletMode()
           
 String getRedirectLocation()
           
 Map<String,String[]> getRenderParameterMap()
           
 User getUser()
           
 WindowState getWindowState()
           
protected  void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, String portletName, User user, Layout layout, WindowState windowState, PortletMode portletMode)
           
 boolean isCalledSetRenderParameter()
           
 void removePublicRenderParameter(String name)
           
 void setEvent(QName name, Serializable value)
           
 void setEvent(String name, Serializable value)
           
 void setPortletMode(PortletMode portletMode)
           
protected  boolean setPublicRenderParameter(String name, String[] values)
           
 void setRedirectLocation(String redirectLocation)
           
 void setRenderParameter(String name, String value)
           
 void setRenderParameter(String name, String[] values)
           
 void setRenderParameters(Map<String,String[]> params)
           
 void setWindowState(WindowState windowState)
           
 
Methods inherited from class com.liferay.portlet.PortletResponseImpl
addDateHeader, addHeader, addIntHeader, addProperty, addProperty, addProperty, createActionURL, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getLifecycle, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, init, setDateHeader, setHeader, setIntHeader, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
 
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, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
 

Constructor Detail

StateAwareResponseImpl

public StateAwareResponseImpl()
Method Detail

getDefaultNamespace

public String getDefaultNamespace()

getEvents

public List<Event> getEvents()

getLayout

public Layout getLayout()

getPortletMode

public PortletMode getPortletMode()
Specified by:
getPortletMode in interface StateAwareResponse

getRedirectLocation

public String getRedirectLocation()

getRenderParameterMap

public Map<String,String[]> getRenderParameterMap()
Specified by:
getRenderParameterMap in interface StateAwareResponse

getUser

public User getUser()

getWindowState

public WindowState getWindowState()
Specified by:
getWindowState in interface StateAwareResponse

isCalledSetRenderParameter

public boolean isCalledSetRenderParameter()

removePublicRenderParameter

public void removePublicRenderParameter(String name)
Specified by:
removePublicRenderParameter in interface StateAwareResponse

setEvent

public void setEvent(QName name,
                     Serializable value)
Specified by:
setEvent in interface StateAwareResponse

setEvent

public void setEvent(String name,
                     Serializable value)
Specified by:
setEvent in interface StateAwareResponse

setPortletMode

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

setRedirectLocation

public void setRedirectLocation(String redirectLocation)

setRenderParameter

public void setRenderParameter(String name,
                               String value)
Specified by:
setRenderParameter in interface StateAwareResponse

setRenderParameter

public void setRenderParameter(String name,
                               String[] values)
Specified by:
setRenderParameter in interface StateAwareResponse

setRenderParameters

public void setRenderParameters(Map<String,String[]> params)
Specified by:
setRenderParameters in interface StateAwareResponse

setWindowState

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

init

protected void init(PortletRequestImpl portletRequestImpl,
                    javax.servlet.http.HttpServletResponse response,
                    String portletName,
                    User user,
                    Layout layout,
                    WindowState windowState,
                    PortletMode portletMode)
             throws PortletModeException,
                    WindowStateException
Throws:
PortletModeException
WindowStateException

setPublicRenderParameter

protected boolean setPublicRenderParameter(String name,
                                           String[] values)

Liferay 6.0.5