|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.render.MarkupResult
The resulting markup fragment from a render process.
Field Summary | |
protected java.lang.String |
layoutState
|
protected java.lang.String |
layoutURI
|
protected NavigationalStateContext |
navigationalStateContext
|
protected java.lang.String |
pageName
|
protected java.util.Map |
pageProperties
|
protected java.util.Map |
portalProperties
|
protected java.util.Map |
portlets
|
protected PortalRenderSet |
renderSet
|
protected java.util.Map |
results
|
Constructor Summary | |
MarkupResult()
|
|
MarkupResult(NavigationalStateContext navCtx,
java.lang.String pageName,
java.util.Map pageProperties,
java.util.Map portalProperties)
|
Method Summary | |
java.lang.String |
getLayoutState()
Get the state string of the layout. |
java.lang.String |
getLayoutURI()
Get the uri of the layout that is used. |
java.lang.String |
getPageName()
Get the name of the requested page. |
java.util.Map |
getPageProperties()
Get the properties that were set for this page. |
java.util.Map |
getPortalProperties()
Get the properties that were set for this page. |
Mode |
getPortletMode(java.lang.String windowId)
Get the portlet mode of a window |
WindowContext |
getWindowContext(java.lang.String windowId)
Get the WindowContext for the provided window id. |
java.util.Map |
getWindowContextMap()
Get a map of all PortletContext s on the page keyed by window id |
java.util.Set |
getWindowIDs()
Get a Set of all window ids that are contained in this page. |
WindowResult |
getWindowResult(java.lang.String windowHandle)
Get the WindowResult for a specific portlet window. |
java.util.Map |
getWindowResultMap()
Get a map of WindowResult s keyed by window id |
WindowState |
getWindowState(java.lang.String windowId)
Get the window state of a window |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.util.Map results
protected final java.util.Map portlets
protected java.lang.String pageName
protected java.util.Map portalProperties
protected java.util.Map pageProperties
protected NavigationalStateContext navigationalStateContext
protected java.lang.String layoutURI
protected java.lang.String layoutState
protected PortalRenderSet renderSet
Constructor Detail |
public MarkupResult()
public MarkupResult(NavigationalStateContext navCtx, java.lang.String pageName, java.util.Map pageProperties, java.util.Map portalProperties)
Method Detail |
public java.lang.String getPageName()
public java.util.Map getPageProperties()
java.util.Map
of the properties of this pagepublic java.util.Map getPortalProperties()
java.util.Map
of the properties of this pagepublic java.lang.String getLayoutURI()
The uri is relative to the application context that hosts the layout.
public java.lang.String getLayoutState()
The state is used to further sub select a layout uri. One layout can contain a separate layout uri per state. The state has to match to string version of one of the allowed window states.
public java.util.Set getWindowIDs()
public WindowResult getWindowResult(java.lang.String windowHandle)
WindowResult
for a specific portlet window.
windowHandle
- the window id identifying the portlet window to get the window result for
public java.util.Map getWindowResultMap()
WindowResult
s keyed by window id
public WindowContext getWindowContext(java.lang.String windowId)
WindowContext
for the provided window id.
windowId
- the window id identifying the portlet to get the context for
public java.util.Map getWindowContextMap()
PortletContext
s on the page keyed by window id
public WindowState getWindowState(java.lang.String windowId)
windowId
- the identifier of the window on the page
java.lang.IllegalStateException
- if no navigational state context was provided for this markup resultorg.jboss.portal.portlet.WindowState
,
WindowNavigationalState
public Mode getPortletMode(java.lang.String windowId)
windowId
- the identifier of the window on the page
java.lang.IllegalStateException
- if no navigational state context was provided for this markup resultMode
,
WindowNavigationalState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |