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 |
|---|---|
| public PortletMode | Returns: the portlet mode. If the portlet mode is not available,PortletMode#UNDEFINED is returned.
Returns the current portlet mode of the portlet.
|
| public RenderParameters | Returns: an immutableRenderParameters object representing
the private and public render parameters
Gets the render parameters.
|
| public WindowState | Returns: the window state. If the window state is not available,WindowState#UNDEFINED is returned.
Returns the current window state of the portlet.
|
| getPortletMode | back to summary |
|---|---|
| public PortletMode getPortletMode()
Returns the current portlet mode of the portlet.
| |
| getRenderParameters | back to summary |
|---|---|
| public RenderParameters getRenderParameters()
Gets the render parameters.
| |
| getWindowState | back to summary |
|---|---|
| public WindowState getWindowState()
Returns the current window state of the portlet.
| |