RD
- - an instance of RenderableDefinition
public abstract class AbstractSTKTemplateModel<RD extends info.magnolia.rendering.template.RenderableDefinition> extends info.magnolia.rendering.model.RenderingModelImpl<RD> implements STKRenderingModel<RD>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SITEROOT_TEMPLATE_CATEGORY |
protected STKTemplatingFunctions |
stkFunctions |
protected info.magnolia.templating.functions.TemplatingFunctions |
templatingFunctions |
Constructor and Description |
---|
AbstractSTKTemplateModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions) |
Modifier and Type | Method and Description |
---|---|
Site |
getSite() |
javax.jcr.Node |
getSiteRoot() |
execute, getContent, getDef, getDefinition, getNode, getParent, getRoot
public static final String DEFAULT_SITEROOT_TEMPLATE_CATEGORY
protected final STKTemplatingFunctions stkFunctions
protected final info.magnolia.templating.functions.TemplatingFunctions templatingFunctions
@Inject public AbstractSTKTemplateModel(javax.jcr.Node content, RD definition, info.magnolia.rendering.model.RenderingModel<?> parent, STKTemplatingFunctions stkFunctions, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
public Site getSite()
getSite
in interface STKRenderingModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
public javax.jcr.Node getSiteRoot()
getSiteRoot
in interface STKRenderingModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
Copyright © 2008–2015 Magnolia International Ltd.. All rights reserved.