info.magnolia.module.templatingkit.resources
Class STKResourceModel<RD extends info.magnolia.rendering.template.RenderableDefinition>

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.resources.STKResourceModel<RD>
Type Parameters:
RD - the RenderableDefinition used for this resource type.
All Implemented Interfaces:
STKRenderingModel<RD>, info.magnolia.rendering.model.RenderingModel<RD>

public class STKResourceModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
extends AbstractSTKTemplateModel<RD>

STK concrete rendering definition used for templates and paragraphs.


Field Summary
 
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
STKResourceModel(javax.jcr.Node content, RD definition, info.magnolia.rendering.model.RenderingModel<?> parent, STKTemplatingFunctions stkFunctions, info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
           
 
Method Summary
 
Methods inherited from class info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel
getSite, getSiteRoot
 
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl
execute, getContent, getDef, getDefinition, getNode, getParent, 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
execute, getContent, getDefinition, getNode, getParent, getRoot
 

Constructor Detail

STKResourceModel

@Inject
public STKResourceModel(javax.jcr.Node content,
                               RD definition,
                               info.magnolia.rendering.model.RenderingModel<?> parent,
                               STKTemplatingFunctions stkFunctions,
                               info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)


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