org.infoglue.deliver.invokers
Class DecoratedComponentBasedHTMLPageInvoker
java.lang.Object
org.infoglue.deliver.invokers.PageInvoker
org.infoglue.deliver.invokers.ComponentBasedHTMLPageInvoker
org.infoglue.deliver.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" |
java.util.Collection |
getComponentProperties(java.lang.Integer componentId,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer componentContentId)
|
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. |
protected org.w3c.dom.Document |
getComponentTasksDocument(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method fetches the tasks as a document. |
java.lang.String |
getLocalizedString(java.util.Locale locale,
java.lang.String key)
|
void |
invokePage()
This is the method that will render the page. |
| Methods inherited from class org.infoglue.deliver.invokers.PageInvoker |
cachePage, deliverPage, getDatabase, getDefaultContext, getDeliveryContext, getPageString, getRequest, getResponse, getTemplateController, setPageString, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoratedComponentBasedHTMLPageInvoker
public DecoratedComponentBasedHTMLPageInvoker()
invokePage
public void invokePage()
throws SystemException,
java.lang.Exception
- This is the method that will render the page. It uses the new component based structure.
- Overrides:
invokePage in class ComponentBasedHTMLPageInvoker
- Throws:
SystemException
java.lang.Exception
getComponentContents
public java.util.List getComponentContents()
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
- Throws:
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 SystemException,
java.lang.Exception
- This method fetches the pageComponent structure as a document.
- Throws:
SystemException
java.lang.Exception
getComponentTasksDocument
protected org.w3c.dom.Document getComponentTasksDocument(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws SystemException,
java.lang.Exception
- This method fetches the tasks as a document.
- Throws:
SystemException
java.lang.Exception
getComponentProperties
public java.util.Collection getComponentProperties(java.lang.Integer componentId,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer componentContentId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLocalizedString
public java.lang.String getLocalizedString(java.util.Locale locale,
java.lang.String key)
Copyright © 2005 InfoGlue.org All Rights Reserved.