|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 PortletContexts 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 WindowResults 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 PageResultpublic PortalLayout getLayout()
PageResult
getLayout in interface PageResultpublic java.lang.String getLayoutURI()
PageResultThe uri is relative to the application context that hosts the layout.
getLayoutURI in interface PageResultpublic java.lang.String getLayoutState()
PageResultThe 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 PageResultpublic PortalTheme getTheme()
PageResult
getTheme in interface PageResultpublic java.util.Map getWindowResultMap()
PageResultWindowResults keyed by window id
getWindowResultMap in interface PageResultpublic WindowResult getWindowResult(java.lang.String windowHandle)
PageResultWindowResult for a specific portlet window.
getWindowResult in interface PageResultwindowHandle - 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 PageResultregionName - the name of the region that hosts the portlets that we are interested in
public java.util.Set getWindowIDs()
PageResult
getWindowIDs in interface PageResultpublic Region getRegion(java.lang.String regionName)
PageResult
getRegion in interface PageResultregionName - the name of the region to get
public java.util.Map getPortletContextMap()
PageResultPortletContexts on the page keyed by window id
getPortletContextMap in interface PageResultpublic PortletContext getPortletContext(java.lang.String windowID)
PageResultPortletContext for the provided window id.
getPortletContext in interface PageResultwindowID - the window id identifying the portlet to get the context for
public PortalRenderSet getRenderSet()
PageResult
getRenderSet in interface PageResultpublic java.lang.String getName()
PageResult
getName in interface PageResultpublic java.util.Map getPageProperties()
PageResult
getPageProperties in interface PageResultjava.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 | |||||||||