|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.page.context.DefaultPageRuntimeDataProvider
lumis.content.pageruntimedataprovider.ContentPageRuntimeDataProvider
public class ContentPageRuntimeDataProvider
Provides the page information based on content being rendered.
This runtime provider detects if the current page contains a content id as a parameter. If true, it provides the content title and introduction from the ContentManager.
Field Summary |
---|
Fields inherited from class lumis.portal.page.context.DefaultPageRuntimeDataProvider |
---|
pageContext |
Constructor Summary | |
---|---|
ContentPageRuntimeDataProvider()
|
Method Summary | |
---|---|
void |
init(IPageContext context)
Called by the portal framework when rendering a page. |
protected void |
setDescription(PageRuntimeData pageRuntimeData)
Sets the description property on the given pageRuntimeData object. |
protected void |
setKeywords(PageRuntimeData pageRuntimeData)
Sets the keywords property on the given pageRuntimeData object. |
protected void |
setTitle(PageRuntimeData pageRuntimeData)
Sets the title property on the given pageRuntimeData object. |
Methods inherited from class lumis.portal.page.context.DefaultPageRuntimeDataProvider |
---|
getPageRuntimeData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentPageRuntimeDataProvider()
Method Detail |
---|
public void init(IPageContext context) throws PortalException
IPageRuntimeDataProvider
init
in interface IPageRuntimeDataProvider
init
in class DefaultPageRuntimeDataProvider
context
- current page context
PortalException
protected void setTitle(PageRuntimeData pageRuntimeData) throws PortalException
DefaultPageRuntimeDataProvider
setTitle
in class DefaultPageRuntimeDataProvider
PortalException
protected void setDescription(PageRuntimeData pageRuntimeData) throws PortalException
The description value is taken from the introduction property of the content being visualized. If not applicable the default parent method is called.
setDescription
in class DefaultPageRuntimeDataProvider
pageRuntimeData
- page runtime data object.
PortalException
protected void setKeywords(PageRuntimeData pageRuntimeData) throws PortalException
The keywords value is taken from the keyword property of the content being visualized. This value is appended to the value returned from the parent implementation before setting the pageRuntimeData keywords property.
setKeywords
in class DefaultPageRuntimeDataProvider
pageRuntimeData
- page runtime data object.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |