public interface RenderState
During render or resource request processing, the render state is constant and can be accessed through methods provided by this interface.
During portlet action or event request ptocessing, the render state can be modified for subsequent render phase processing. During the portlet render or resource phases, URLs containing modified render state can be created. When a portlet URL containing modified render state is triggered, the corresponding portlet phase is executed with the modified render state.
The render state is modified through MutableRenderState
.
MutableRenderState
,
PortletParameters
Modifier and Type | Method and Description |
---|---|
PortletMode |
getPortletMode()
Returns the current portlet mode of the portlet.
|
RenderParameters |
getRenderParameters()
Gets the render parameters.
|
WindowState |
getWindowState()
Returns the current window state of the portlet.
|
RenderParameters getRenderParameters()
RenderParameters
object representing
the private and public render parametersPortletParameters
,
RenderParameters
PortletMode getPortletMode()
PortletMode.UNDEFINED
is returned.PortletMode
WindowState getWindowState()
WindowState.UNDEFINED
is returned.WindowState
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.