|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.webresource.AbstractPageWebResourceDataProvider
@StableMinor(version="6.2", sinceVersion="5.0") public abstract class AbstractPageWebResourceDataProvider
An abstract implementation of IPageWebResourceDataProvider
.
Field Summary | |
---|---|
protected PageWebResource |
pageWebResource
The page web resource this provider is generating data for. |
Constructor Summary | |
---|---|
AbstractPageWebResourceDataProvider()
|
Method Summary | |
---|---|
protected abstract String |
getDescription()
Returns the description for the page web resource. |
protected abstract List<String> |
getKeywords()
Returns the keywords for the page web resource. |
protected Map<String,String> |
getMetaTags()
Returns the meta tags map for the page web resource. |
PageWebResourceData |
getPageWebResourceData()
Template method for filling up a page web resource data properties. |
protected abstract String |
getTitle()
Returns the title for the page web resource. |
void |
init(PageWebResource pageWebResource)
Sets pageWebResource attribute with the given pageWebResource object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PageWebResource pageWebResource
Constructor Detail |
---|
public AbstractPageWebResourceDataProvider()
Method Detail |
---|
public void init(PageWebResource pageWebResource) throws PortalException
pageWebResource
attribute with the given pageWebResource object.
init
in interface IPageWebResourceDataProvider
pageWebResource
- the page web resource this provider will
provide data for.
PortalException
public PageWebResourceData getPageWebResourceData() throws PortalException
getTitle()
, getDescription()
and
getKeywords()
.
getPageWebResourceData
in interface IPageWebResourceDataProvider
PortalException
protected abstract String getTitle() throws PortalException
null
.
PortalException
protected abstract String getDescription() throws PortalException
PortalException
protected abstract List<String> getKeywords() throws PortalException
null
, but may be an
empty list to indicate there are no keywords.
PortalException
protected Map<String,String> getMetaTags() throws PortalException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |