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 java.lang.String getFilterAttribute()
getQuery
public java.lang.String getQuery()
setQuery
public void setQuery(java.lang.String query)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.