|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.page.PageResponse
Field Summary | |
protected PageResponseContext |
context
|
protected PortalLayout |
layout
|
protected PortalTheme |
theme
|
protected java.util.Set |
windows
|
Constructor Summary | |
PageResponse(PageResponseContext responseContext,
java.lang.String pageName,
java.util.Map pageProperties)
|
Method Summary | |
void |
addPortletContext(PortletContext portletContext)
|
void |
addWindowID(java.lang.String windowID)
|
void |
addWindowResult(java.lang.String windowID,
WindowResult result)
|
PageResponseContext |
getContext()
|
PortalLayout |
getLayout()
Get the layout that was determined for this page. |
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 |
getName()
Get the name of the requested page. |
java.util.Map |
getPageProperties()
Get the properties that were set for this page. |
PortletContext |
getPortletContext(java.lang.String windowID)
Get the PortletContext for the provided window id. |
java.util.Map |
getPortletContextMap()
Get a map of all PortletContext s on the page keyed by window id |
Region |
getRegion(java.lang.String regionName)
Get a reference to the region object for the provided region name. |
PortalRenderSet |
getRenderSet()
Get the rendet set for the page. |
HTTPStreamInfo |
getStreamInfo()
Information about the http connection. |
PortalTheme |
getTheme()
Get the portal theme to use. |
java.util.Set |
getWindowIDs()
Get a Set of all window ids that are contained in this page. |
java.util.Set |
getWindowIDs(java.lang.String regionName)
Get a Set of all window ids of the portlets in the the provided region. |
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 |
void |
setLayout(PortalLayout layout)
|
void |
setLayoutState(java.lang.String layoutState)
|
void |
setLayoutURI(java.lang.String uri)
|
void |
setRenderSet(PortalRenderSet renderSet)
|
void |
setTheme(PortalTheme theme)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final PageResponseContext context
protected final java.util.Set windows
protected PortalLayout layout
protected PortalTheme theme
Constructor Detail |
public PageResponse(PageResponseContext responseContext, java.lang.String pageName, java.util.Map pageProperties)
Method Detail |
public HTTPStreamInfo getStreamInfo()
PageResult
getStreamInfo
in interface PageResult
public PortalLayout getLayout()
PageResult
getLayout
in interface PageResult
public java.lang.String getLayoutURI()
PageResult
The uri is relative to the application context that hosts the layout.
getLayoutURI
in interface PageResult
public java.lang.String getLayoutState()
PageResult
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.
getLayoutState
in interface PageResult
public PortalTheme getTheme()
PageResult
getTheme
in interface PageResult
public java.util.Map getWindowResultMap()
PageResult
WindowResult
s keyed by window id
getWindowResultMap
in interface PageResult
public WindowResult getWindowResult(java.lang.String windowHandle)
PageResult
WindowResult
for a specific portlet window.
getWindowResult
in interface PageResult
windowHandle
- the window id identifying the portlet window to get the window result for
public java.util.Set getWindowIDs(java.lang.String regionName)
PageResult
getWindowIDs
in interface PageResult
regionName
- the name of the region that hosts the portlets that we are interested in
public java.util.Set getWindowIDs()
PageResult
getWindowIDs
in interface PageResult
public Region getRegion(java.lang.String regionName)
PageResult
getRegion
in interface PageResult
regionName
- the name of the region to get
public java.util.Map getPortletContextMap()
PageResult
PortletContext
s on the page keyed by window id
getPortletContextMap
in interface PageResult
public PortletContext getPortletContext(java.lang.String windowID)
PageResult
PortletContext
for the provided window id.
getPortletContext
in interface PageResult
windowID
- the window id identifying the portlet to get the context for
public PortalRenderSet getRenderSet()
PageResult
getRenderSet
in interface PageResult
public java.lang.String getName()
PageResult
getName
in interface PageResult
public java.util.Map getPageProperties()
PageResult
getPageProperties
in interface PageResult
java.util.Map
of the properties of this pagepublic PageResponseContext getContext()
public void setLayout(PortalLayout layout)
public void setLayoutURI(java.lang.String uri)
public void setTheme(PortalTheme theme)
public void addWindowID(java.lang.String windowID)
public void addWindowResult(java.lang.String windowID, WindowResult result)
public void addPortletContext(PortletContext portletContext)
public void setLayoutState(java.lang.String layoutState)
public void setRenderSet(PortalRenderSet renderSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |