|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 StrategyResponseStrategyResponse.getLayoutURI()public java.util.Map getWindowStateChangeMap()
StrategyResponse
getWindowStateChangeMap in interface StrategyResponseStrategyResponse.getWindowStateChangeMap()public java.util.List getNoRenderList()
StrategyResponse
getNoRenderList in interface StrategyResponseStrategyResponse.getNoRenderList()public void addNoRender(PortletContext portlet)
StrategyResponse
addNoRender in interface StrategyResponseportlet - the portlet to excludeStrategyResponse.addNoRender(org.jboss.portal.theme.page.PortletContext)public void addPortletModeChange(PortletContext portlet, Mode mode)
StrategyResponse
addPortletModeChange in interface StrategyResponseportlet - the portlet that got the new portlet modemode - the new portlet modePortletContext,
Mode,
StrategyResponse.getPortletModeChangeMap()public java.util.Map getPortletModeChangeMap()
StrategyResponse
getPortletModeChangeMap in interface StrategyResponsePortletContext,
Mode,
StrategyResponse.addPortletModeChange(org.jboss.portal.theme.page.PortletContext, org.jboss.portal.Mode)public void addWindowStateChange(PortletContext portlet, WindowState state)
StrategyResponse
addWindowStateChange in interface StrategyResponseportlet - 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()
StrategyResponseAfter the reset, the response's state is equal to the state after it was created
reset in interface StrategyResponseStrategyResponse.reset()public void setLayoutURI(java.lang.String layoutURI)
StrategyResponse
setLayoutURI in interface StrategyResponselayoutURI - the layout URI to useStrategyResponse.setLayoutURI(java.lang.String)public void setLayoutState(java.lang.String state)
StrategyResponseThe state is used to find a layout URI that is more atuned to this particular state
setLayoutState in interface StrategyResponsestate - the state to use when looking for a layout URIStrategyResponse.setLayoutState(java.lang.String)public java.lang.String getLayoutState()
StrategyResponse
getLayoutState in interface StrategyResponseStrategyResponse.getLayoutState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||