|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.impl.strategy.StrategyResponseImpl
Implementation of the strategy response.
StrategyResponse
Method Summary | |
void |
addNoRender(PortletContext portlet)
Add a portlet to the list of portlets that are excluded from the render process. |
void |
addPortletModeChange(PortletContext portlet,
Mode mode)
Add a portlet to the list of portlets that received a new portlet mode by the strategy. |
void |
addWindowStateChange(PortletContext portlet,
WindowState state)
Add a portlet to the list of portlets that received a new window state by the strategy. |
java.lang.String |
getLayoutState()
Get the state for this strategy response |
java.lang.String |
getLayoutURI()
Get the URI of the layout to use. |
java.util.List |
getNoRenderList()
Get the list of portlets (portlet context) that should not be rendered by the portlet container. |
java.util.Map |
getPortletModeChangeMap()
Get a map of portlets that should change their mode, with the new mode in the value |
java.util.Map |
getWindowStateChangeMap()
Get a map of portlets that should change their window state, with the new state in the value |
void |
reset()
Reset all the state of this response. |
void |
setLayoutState(java.lang.String state)
Set the state for this strategy response. |
void |
setLayoutURI(java.lang.String layoutURI)
Set the layout URI to use |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getLayoutURI()
StrategyResponse
getLayoutURI
in interface StrategyResponse
StrategyResponse.getLayoutURI()
public java.util.Map getWindowStateChangeMap()
StrategyResponse
getWindowStateChangeMap
in interface StrategyResponse
StrategyResponse.getWindowStateChangeMap()
public java.util.List getNoRenderList()
StrategyResponse
getNoRenderList
in interface StrategyResponse
StrategyResponse.getNoRenderList()
public void addNoRender(PortletContext portlet)
StrategyResponse
addNoRender
in interface StrategyResponse
portlet
- the portlet to excludeStrategyResponse.addNoRender(org.jboss.portal.theme.page.PortletContext)
public void addPortletModeChange(PortletContext portlet, Mode mode)
StrategyResponse
addPortletModeChange
in interface StrategyResponse
portlet
- the portlet that got the new portlet modemode
- the new portlet modePortletContext
,
Mode
,
StrategyResponse.getPortletModeChangeMap()
public java.util.Map getPortletModeChangeMap()
StrategyResponse
getPortletModeChangeMap
in interface StrategyResponse
PortletContext
,
Mode
,
StrategyResponse.addPortletModeChange(org.jboss.portal.theme.page.PortletContext, org.jboss.portal.Mode)
public void addWindowStateChange(PortletContext portlet, WindowState state)
StrategyResponse
addWindowStateChange
in interface StrategyResponse
portlet
- the portlet that got the new window statestate
- the new window stateStrategyResponse.addWindowStateChange(org.jboss.portal.theme.page.PortletContext, org.jboss.portal.WindowState)
public void reset()
StrategyResponse
After the reset, the response's state is equal to the state after it was created
reset
in interface StrategyResponse
StrategyResponse.reset()
public void setLayoutURI(java.lang.String layoutURI)
StrategyResponse
setLayoutURI
in interface StrategyResponse
layoutURI
- the layout URI to useStrategyResponse.setLayoutURI(java.lang.String)
public void setLayoutState(java.lang.String state)
StrategyResponse
The state is used to find a layout URI that is more atuned to this particular state
setLayoutState
in interface StrategyResponse
state
- the state to use when looking for a layout URIStrategyResponse.setLayoutState(java.lang.String)
public java.lang.String getLayoutState()
StrategyResponse
getLayoutState
in interface StrategyResponse
StrategyResponse.getLayoutState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |