info.magnolia.module.templatingkit.templates.components
Class ImageGalleryParagraphModel<RD extends info.magnolia.rendering.template.TemplateDefinition>
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RD>
info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel<info.magnolia.rendering.template.TemplateDefinition>
info.magnolia.module.templatingkit.templates.components.ImageGalleryParagraphModel<RD>
- Type Parameters:
RD
- the TemplateDefinition this model is operating on.
- All Implemented Interfaces:
- STKRenderingModel<info.magnolia.rendering.template.TemplateDefinition>, info.magnolia.rendering.model.RenderingModel<info.magnolia.rendering.template.TemplateDefinition>
public class ImageGalleryParagraphModel<RD extends info.magnolia.rendering.template.TemplateDefinition>
- extends AbstractSTKTemplateModel<info.magnolia.rendering.template.TemplateDefinition>
STK Renderable Model definition dedicated to Image Gallery display.
- Version:
- $Id$
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl |
content, contentMap, definition, parentModel |
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
SKIP_RENDERING |
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 |
ALLOWED_IMAGE_TYPES
protected static final String[] ALLOWED_IMAGE_TYPES
ImageGalleryParagraphModel
@Inject
public ImageGalleryParagraphModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions,
STKModule stkModule)
getImages
public List<Asset> getImages()
throws DAMException
- Throws:
DAMException
getDAMHandler
protected DAMHandler getDAMHandler()
getKeys
protected List<String> getKeys()
showImage
protected boolean showImage(info.magnolia.module.dms.beans.Document doc)
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.