|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.webresource.AbstractPageWebResourceDataProvider lumis.portal.page.webresource.DefaultPageWebResourceDataProvider lumis.content.webresource.ContentPageWebResourceDataProvider
@StableMinor(version="5.5", sinceVersion="5.0") public class ContentPageWebResourceDataProvider
Provides the page information based on content being rendered.
This data 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.webresource.AbstractPageWebResourceDataProvider |
---|
pageWebResource |
Constructor Summary | |
---|---|
ContentPageWebResourceDataProvider()
|
Method Summary | |
---|---|
protected String |
getDescription()
Returns the description for the page web resource. |
protected List<String> |
getKeywords()
Returns the keywords for the page web resource. |
protected String |
getTitle()
Returns the title for the page web resource. |
void |
init(PageWebResource instance)
Sets AbstractPageWebResourceDataProvider.pageWebResource attribute with the given pageWebResource object. |
Methods inherited from class lumis.portal.page.webresource.AbstractPageWebResourceDataProvider |
---|
getPageWebResourceData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentPageWebResourceDataProvider()
Method Detail |
---|
public void init(PageWebResource instance) throws PortalException
AbstractPageWebResourceDataProvider
AbstractPageWebResourceDataProvider.pageWebResource
attribute with the given pageWebResource object.
init
in interface IPageWebResourceDataProvider
init
in class AbstractPageWebResourceDataProvider
instance
- the page web resource this provider will
provide data for.
PortalException
protected String getDescription() throws PortalException
AbstractPageWebResourceDataProvider
getDescription
in class DefaultPageWebResourceDataProvider
PortalException
protected List<String> getKeywords() throws PortalException
AbstractPageWebResourceDataProvider
getKeywords
in class DefaultPageWebResourceDataProvider
null
, but may be an
empty list to indicate there are no keywords.
PortalException
protected String getTitle() throws PortalException
AbstractPageWebResourceDataProvider
getTitle
in class DefaultPageWebResourceDataProvider
null
.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |