|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.controllers.delivery.kernel.impl.simple.BasicTemplateController
|
+--org.infoglue.cms.controllers.delivery.kernel.impl.simple.EditOnSiteBasicTemplateController
This is the most basic template controller supplying the templates using it with methods to fetch contents, structure and other suff needed for a site. Mostly this class just acts as a delegator to other more specialized classes.
| Field Summary |
| Fields inherited from class org.infoglue.cms.controllers.delivery.kernel.impl.simple.BasicTemplateController |
browserBean, componentLogic, contentDeliveryController, contentId, DO_NOT_USE_INHERITANCE, DO_NOT_USE_LANGUAGE_FALLBACK, integrationDeliveryController, languageId, META_INFO_BINDING_NAME, NAV_TITLE_ATTRIBUTE_NAME, nodeDeliveryController, request, siteNodeId, TEMPLATE_ATTRIBUTE_NAME, templateLogicContext, TITLE_ATTRIBUTE_NAME, USE_INHERITANCE, USE_LANGUAGE_FALLBACK |
| Constructor Summary | |
EditOnSiteBasicTemplateController()
|
|
| Method Summary | |
java.lang.String |
decoratePage(java.lang.String page)
This method adds the neccessairy html to a template to make it right-clickable. |
java.util.List |
getBoundPages(java.lang.Integer siteNodeId,
java.lang.String structureBindningName)
The method returns a list of WebPage-objects that is the bound sitenodes of named binding. |
java.util.List |
getBoundPages(java.lang.String structureBindningName)
The method returns a list of WebPage-objects that is the bound sitenodes of named binding. |
java.lang.String |
getContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for. |
java.lang.String |
getContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName,
boolean clean)
This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on. |
java.lang.String |
getContentAttribute(java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for if it exists in the content defined in the url-parameter contentId. |
java.lang.String |
getContentAttribute(java.lang.String attributeName,
boolean clean)
This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on. |
java.lang.String |
getContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for. |
java.lang.String |
getContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName,
boolean clean)
This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on. |
java.lang.String |
getPageNavTitle(java.lang.String structureBindningName)
This method deliveres a String with the Navigation title the page asked for has. |
java.lang.String |
getParsedContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for after it has been parsed and all special tags have been converted. |
java.lang.String |
getParsedContentAttribute(java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for after it has been parsed and all special tags have been converted. |
java.lang.String |
getParsedContentAttribute(java.lang.String attributeName,
boolean clean)
This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on. |
java.lang.String |
getParsedContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName)
This method deliveres a String with the content-attribute asked for after it has been parsed and all special tags have been converted. |
java.lang.String |
getParsedContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName,
boolean clean)
This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on. |
TemplateController |
getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method should be much more sophisticated later and include a check to see if there is a digital asset uploaded which is more specialized and can be used to act as serverside logic to the template. |
TemplateController |
getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EditOnSiteBasicTemplateController()
| Method Detail |
public java.lang.String decoratePage(java.lang.String page)
decoratePage in interface TemplateControllerdecoratePage in class BasicTemplateControllerpublic java.lang.String getContentAttribute(java.lang.String attributeName)
getContentAttribute in interface TemplateControllergetContentAttribute in class BasicTemplateController
public java.lang.String getContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName)
getContentAttribute in interface TemplateControllergetContentAttribute in class BasicTemplateController
public java.lang.String getContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName,
boolean clean)
getContentAttribute in class BasicTemplateController
public java.lang.String getContentAttribute(java.lang.String attributeName,
boolean clean)
getContentAttribute in class BasicTemplateController
public java.lang.String getContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName,
boolean clean)
getContentAttribute in interface TemplateControllergetContentAttribute in class BasicTemplateController
public java.lang.String getContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName)
getContentAttribute in interface TemplateControllergetContentAttribute in class BasicTemplateControllerpublic java.lang.String getParsedContentAttribute(java.lang.String attributeName)
getParsedContentAttribute in interface TemplateControllergetParsedContentAttribute in class BasicTemplateController
public java.lang.String getParsedContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName)
getParsedContentAttribute in interface TemplateControllergetParsedContentAttribute in class BasicTemplateController
public java.lang.String getParsedContentAttribute(java.lang.String attributeName,
boolean clean)
getParsedContentAttribute in interface TemplateControllergetParsedContentAttribute in class BasicTemplateController
public java.lang.String getParsedContentAttribute(java.lang.String contentBindningName,
java.lang.String attributeName,
boolean clean)
getParsedContentAttribute in interface TemplateControllergetParsedContentAttribute in class BasicTemplateController
public java.lang.String getParsedContentAttribute(java.lang.Integer contentId,
java.lang.String attributeName)
getParsedContentAttribute in interface TemplateControllergetParsedContentAttribute in class BasicTemplateControllerpublic java.util.List getBoundPages(java.lang.String structureBindningName)
getBoundPages in interface TemplateControllergetBoundPages in class BasicTemplateController
public java.util.List getBoundPages(java.lang.Integer siteNodeId,
java.lang.String structureBindningName)
getBoundPages in interface TemplateControllergetBoundPages in class BasicTemplateControllerpublic java.lang.String getPageNavTitle(java.lang.String structureBindningName)
getPageNavTitle in interface TemplateControllergetPageNavTitle in class BasicTemplateController
public TemplateController getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws org.infoglue.cms.exception.SystemException,
java.lang.Exception
getTemplateController in interface TemplateControllergetTemplateController in class BasicTemplateControllerorg.infoglue.cms.exception.SystemException
java.lang.Exception
public TemplateController getTemplateController(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
javax.servlet.http.HttpServletRequest request)
throws org.infoglue.cms.exception.SystemException,
java.lang.Exception
getTemplateController in interface TemplateControllergetTemplateController in class BasicTemplateControllerorg.infoglue.cms.exception.SystemException
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||