org.infoglue.cms.invokers
Class DecoratedComponentBasedHTMLPageInvoker
java.lang.Object
|
+--org.infoglue.cms.invokers.PageInvoker
|
+--org.infoglue.cms.invokers.ComponentBasedHTMLPageInvoker
|
+--org.infoglue.cms.invokers.DecoratedComponentBasedHTMLPageInvoker
- public class DecoratedComponentBasedHTMLPageInvoker
- extends ComponentBasedHTMLPageInvoker
- Author:
- Mattias Bogeblad
This class delivers a normal html page by using the component-based method but also decorates it
so it can be used by the structure tool to manage the page components.
|
Method Summary |
java.util.List |
getComponentContents()
This method returns the contents that are of contentTypeDefinition "HTMLTemplate" |
protected org.w3c.dom.Document |
getComponentPropertiesDocument(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method fetches the pageComponent structure as a document. |
java.lang.String |
getDigitalAssetUrl(java.lang.Integer contentId,
java.lang.String key)
This method fetches an url to the asset for the component. |
void |
invokePage()
This is the method that will render the page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoratedComponentBasedHTMLPageInvoker
public DecoratedComponentBasedHTMLPageInvoker(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
TemplateController templateController,
DeliveryContext deliveryContext)
invokePage
public void invokePage()
throws java.lang.Exception
- This is the method that will render the page. It uses the new component based structure.
- Overrides:
invokePage in class ComponentBasedHTMLPageInvoker
java.lang.Exception
getComponentContents
public java.util.List getComponentContents()
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
java.lang.Exception
getDigitalAssetUrl
public java.lang.String getDigitalAssetUrl(java.lang.Integer contentId,
java.lang.String key)
throws java.lang.Exception
- This method fetches an url to the asset for the component.
java.lang.Exception
getComponentPropertiesDocument
protected org.w3c.dom.Document getComponentPropertiesDocument(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws org.infoglue.cms.exception.SystemException,
java.lang.Exception
- This method fetches the pageComponent structure as a document.
org.infoglue.cms.exception.SystemException
java.lang.Exception
Copyright © 2003 InfoGlue.org All Rights Reserved.