public abstract class StateAwareResponseImpl extends PortletResponseImpl implements StateAwareResponse
portletName, portletRequestImpl, response
Constructor and Description |
---|
StateAwareResponseImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultNamespace() |
List<Event> |
getEvents() |
com.liferay.portal.kernel.model.Layout |
getLayout() |
PortletMode |
getPortletMode() |
String |
getRedirectLocation() |
Map<String,String[]> |
getRenderParameterMap() |
com.liferay.portal.kernel.model.User |
getUser() |
WindowState |
getWindowState() |
protected void |
init(PortletRequestImpl portletRequestImpl,
javax.servlet.http.HttpServletResponse response,
String portletName,
com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Layout layout,
WindowState windowState,
PortletMode portletMode)
Deprecated.
As of 7.0.0, replaced by
#init(PortletRequestImpl,
HttpServletResponse, User, Layout) |
protected void |
init(PortletRequestImpl portletRequestImpl,
javax.servlet.http.HttpServletResponse response,
com.liferay.portal.kernel.model.User user,
com.liferay.portal.kernel.model.Layout layout,
boolean setWindowStateAndPortletMode) |
boolean |
isCalledSetRenderParameter() |
void |
removePublicRenderParameter(String name) |
protected void |
reset() |
void |
setEvent(javax.xml.namespace.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) |
addDateHeader, addHeader, addIntHeader, addProperty, addProperty, addProperty, createActionURL, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, doCreateLiferayPortletURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getLifecycle, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, init, init, setDateHeader, setHeader, setIntHeader, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
public String getDefaultNamespace()
public List<Event> getEvents()
public com.liferay.portal.kernel.model.Layout getLayout()
public PortletMode getPortletMode()
getPortletMode
in interface StateAwareResponse
public String getRedirectLocation()
public Map<String,String[]> getRenderParameterMap()
getRenderParameterMap
in interface StateAwareResponse
public com.liferay.portal.kernel.model.User getUser()
public WindowState getWindowState()
getWindowState
in interface StateAwareResponse
public boolean isCalledSetRenderParameter()
public void removePublicRenderParameter(String name)
removePublicRenderParameter
in interface StateAwareResponse
public void setEvent(javax.xml.namespace.QName name, Serializable value)
setEvent
in interface StateAwareResponse
public void setEvent(String name, Serializable value)
setEvent
in interface StateAwareResponse
public void setPortletMode(PortletMode portletMode) throws PortletModeException
setPortletMode
in interface StateAwareResponse
PortletModeException
public void setRedirectLocation(String redirectLocation)
public void setRenderParameter(String name, String value)
setRenderParameter
in interface StateAwareResponse
public void setRenderParameter(String name, String[] values)
setRenderParameter
in interface StateAwareResponse
public void setRenderParameters(Map<String,String[]> params)
setRenderParameters
in interface StateAwareResponse
public void setWindowState(WindowState windowState) throws WindowStateException
setWindowState
in interface StateAwareResponse
WindowStateException
@Deprecated protected void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, String portletName, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, WindowState windowState, PortletMode portletMode) throws PortletModeException, WindowStateException
#init(PortletRequestImpl,
HttpServletResponse, User, Layout)
protected void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, boolean setWindowStateAndPortletMode) throws PortletModeException, WindowStateException
protected void reset()
protected boolean setPublicRenderParameter(String name, String[] values)