|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.page.context.PageContext
public class PageContext
Object that contains information on the page context.
This object contains a PageConfig
object as well as any runtime information that may be
required for rendering. Internally it calls the configured PageRuntimeDataProvider implementation
for the current page to retrieve the runtime information.
Constructor Summary | |
---|---|
PageContext()
|
Method Summary | |
---|---|
PageConfig |
getPageConfig()
Returns the page configuration previously set. |
PageRuntimeData |
getPageRuntimeData()
Returns the runtime information of the page. |
HttpServletRequest |
getRequest()
Returns the page parameters previously set. |
boolean |
isPreviewModeEnabled()
Returns if the user is in preview mode or not. |
void |
setPageConfig(PageConfig pageConfig)
Sets the page configuration. |
void |
setPreviewModeEnabled(boolean previewModeEnabled)
|
void |
setRequest(HttpServletRequest request)
Sets the page parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageContext()
Method Detail |
---|
public PageConfig getPageConfig()
getPageConfig
in interface IPageContext
public void setPageConfig(PageConfig pageConfig)
pageConfig
- public HttpServletRequest getRequest()
getRequest
in interface IPageContext
public void setRequest(HttpServletRequest request)
parameters
- public PageRuntimeData getPageRuntimeData() throws PortalException
PortalException
public boolean isPreviewModeEnabled()
IPageContext
isPreviewModeEnabled
in interface IPageContext
public void setPreviewModeEnabled(boolean previewModeEnabled)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |