|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.deliver.invokers.PageInvoker
org.infoglue.deliver.invokers.ComponentBasedHTMLPageInvoker
public class ComponentBasedHTMLPageInvoker
| Constructor Summary | |
|---|---|
ComponentBasedHTMLPageInvoker()
|
|
| Method Summary | |
|---|---|
protected java.util.Map |
getComponent(org.exolab.castor.jdo.Database db,
org.dom4j.Element element,
java.lang.String componentName,
TemplateController templateController,
InfoGlueComponent parentComponent)
This method gets a specific component. |
protected InfoGlueComponent |
getComponent(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id)
This method fetches a subcomponent from either the current page or from a parent node if it's not defined. |
protected java.util.Map |
getComponents(org.exolab.castor.jdo.Database db,
org.dom4j.Element element,
TemplateController templateController,
InfoGlueComponent parentComponent)
This method gets a Map of the components available on the page. |
protected java.util.List |
getComponents(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id)
This method fetches a subcomponent from either the current page or from a parent node if it's not defined. |
protected java.lang.String |
getComponentString(TemplateController templateController,
java.lang.Integer contentId,
InfoGlueComponent component)
This method fetches the component template as a string. |
PageInvoker |
getDecoratedPageInvoker()
This method should return an instance of the class that should be used for page editing inside the tools or in working. |
protected java.util.List |
getInheritedComponents(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id,
boolean inherit)
This method fetches a subcomponent from either the current page or from a parent node if it's not defined. |
protected java.util.List |
getPageComponents(org.exolab.castor.jdo.Database db,
java.lang.String componentXML,
org.dom4j.Element element,
java.lang.String slotName,
TemplateController templateController,
InfoGlueComponent parentComponent)
This method gets the component structure on the page. |
protected org.dom4j.Document |
getPageComponentsDOM4JDocument(org.exolab.castor.jdo.Database db,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method fetches the pageComponent structure as a document. |
protected java.lang.String |
getPageComponentsString(org.exolab.castor.jdo.Database db,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method fetches the pageComponent structure from the metainfo content. |
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 |
| Constructor Detail |
|---|
public ComponentBasedHTMLPageInvoker()
| Method Detail |
|---|
public PageInvoker getDecoratedPageInvoker()
throws SystemException
getDecoratedPageInvoker in class PageInvokerSystemException
public void invokePage()
throws SystemException,
java.lang.Exception
invokePage in class PageInvokerSystemException
java.lang.Exception
protected java.lang.String getPageComponentsString(org.exolab.castor.jdo.Database db,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
protected org.dom4j.Document getPageComponentsDOM4JDocument(org.exolab.castor.jdo.Database db,
TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
protected java.util.Map getComponents(org.exolab.castor.jdo.Database db,
org.dom4j.Element element,
TemplateController templateController,
InfoGlueComponent parentComponent)
throws java.lang.Exception
java.lang.Exception
protected java.util.Map getComponent(org.exolab.castor.jdo.Database db,
org.dom4j.Element element,
java.lang.String componentName,
TemplateController templateController,
InfoGlueComponent parentComponent)
throws java.lang.Exception
java.lang.Exception
protected java.lang.String getComponentString(TemplateController templateController,
java.lang.Integer contentId,
InfoGlueComponent component)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
protected java.util.List getInheritedComponents(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id,
boolean inherit)
throws java.lang.Exception
java.lang.Exception
protected InfoGlueComponent getComponent(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id)
throws java.lang.Exception
java.lang.Exception
protected java.util.List getComponents(org.exolab.castor.jdo.Database db,
TemplateController templateController,
InfoGlueComponent component,
java.lang.Integer siteNodeId,
java.lang.String id)
throws java.lang.Exception
java.lang.Exception
protected java.util.List getPageComponents(org.exolab.castor.jdo.Database db,
java.lang.String componentXML,
org.dom4j.Element element,
java.lang.String slotName,
TemplateController templateController,
InfoGlueComponent parentComponent)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||