info.magnolia.module.templatingkit.templates
Class SingletonParagraphTemplateModel

java.lang.Object
  extended by info.magnolia.rendering.model.RenderingModelImpl<RD>
      extended by info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel<RD>
          extended by info.magnolia.module.templatingkit.templates.pages.STKPageModel<RD>
              extended by info.magnolia.module.templatingkit.templates.STKTemplateModel<STKPage>
                  extended by info.magnolia.module.templatingkit.templates.SingletonParagraphTemplateModel
All Implemented Interfaces:
STKRenderingModel<STKPage>, info.magnolia.rendering.model.RenderingModel<STKPage>

Deprecated. since STK 2.0: Auto generation of Components is provided by the TemplateDefinition.

public class SingletonParagraphTemplateModel
extends STKTemplateModel<STKPage>

Auto generation of Components is provided by the TemplateDefinition.

Author:
cringele

Field Summary
 
Fields inherited from class info.magnolia.module.templatingkit.templates.pages.STKPageModel
LINK_PROP_NAME, LINK_TITLE_PROP_NAME
 
Fields inherited from class info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel
DEFAULT_SITEROOT_TEMPLATE_CATEGORY, stkFunctions, templatingFunctions
 
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl
content, contentMap, definition, parentModel
 
Fields inherited from interface info.magnolia.rendering.model.RenderingModel
SKIP_RENDERING
 
Constructor Summary
SingletonParagraphTemplateModel(javax.jcr.Node content, STKPage definition, info.magnolia.rendering.model.RenderingModel<?> parent, STKTemplatingFunctions stkFunctions, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
          Deprecated.  
 
Method Summary
 String execute()
          Deprecated.  
protected  void setDefaultValues(info.magnolia.cms.core.Content singletonNode, Map defaultValues)
          Deprecated.  
 
Methods inherited from class info.magnolia.module.templatingkit.templates.STKTemplateModel
getBadge, getBodyClass, getBreadcrumb, getCategories, getCategoryLink, getContentNavigation, getDefinition, getExternalLink, getExternalLinkTitle, getExtras, getFooter, getHomeLink, getHomeName, getHomeTitle, getImageModel, getLanguage, getLogoImageLink, getMetaNavigation, getNavigation, getNode, getParent, getPrintLogoImageLink, getPromos, getSearchPageLink, getSectionAbstract, getSectionText, getSectionTitle, getSite, getSiteRoot, getSiteTitle, resolveSectionPage, setSite
 
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl
getContent, getDef, getRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.rendering.model.RenderingModel
getContent, getRoot
 

Constructor Detail

SingletonParagraphTemplateModel

@Inject
public SingletonParagraphTemplateModel(javax.jcr.Node content,
                                              STKPage definition,
                                              info.magnolia.rendering.model.RenderingModel<?> parent,
                                              STKTemplatingFunctions stkFunctions,
                                              info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
Deprecated. 
Method Detail

execute

public String execute()
Deprecated. 
Specified by:
execute in interface info.magnolia.rendering.model.RenderingModel<STKPage>
Overrides:
execute in class STKTemplateModel<STKPage>

setDefaultValues

protected void setDefaultValues(info.magnolia.cms.core.Content singletonNode,
                                Map defaultValues)
                         throws javax.jcr.RepositoryException
Deprecated. 
Throws:
javax.jcr.RepositoryException


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.