info.magnolia.module.samples.model
Class SampleParagraphModel
java.lang.Object
info.magnolia.module.templating.RenderingModelImpl
info.magnolia.module.samples.model.SampleParagraphModel
- All Implemented Interfaces:
- RenderingModel
public class SampleParagraphModel
- extends RenderingModelImpl
This model class is defined in the paragraph definition in the configuration
(modules/samples/paragraphs/name-of-paragraph/modelClass)
.
To be accessed in the template file by def.method-name
.
Paragraph models can also be defined in the paragraph definitions.
- Author:
- tmiyar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleParagraphModel
public SampleParagraphModel(Content content,
RenderableDefinition definition,
RenderingModel parent)
getFilterAttribute
public String getFilterAttribute()
getQuery
public String getQuery()
setQuery
public void setQuery(String query)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.