|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.testframework.util.ParagraphModelForTests
ComponentModelForTests
instead.
@Deprecated public class ParagraphModelForTests
Dummy model used in tests, exposing an execution counter and hardcoded arbitrary properties.
Field Summary |
---|
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
---|
SKIP_RENDERING |
Constructor Summary | |
---|---|
ParagraphModelForTests(info.magnolia.cms.core.Content content,
info.magnolia.rendering.template.RenderableDefinition renderable,
info.magnolia.rendering.model.RenderingModel parent)
Deprecated. |
Method Summary | |
---|---|
String |
execute()
Deprecated. |
List<String> |
getAllowedParagraphs(info.magnolia.cms.core.Content content)
Deprecated. |
info.magnolia.jcr.util.ContentMap |
getContent()
Deprecated. |
String |
getCount()
Deprecated. |
info.magnolia.rendering.template.RenderableDefinition |
getDefinition()
Deprecated. |
javax.jcr.Node |
getNode()
Deprecated. |
info.magnolia.rendering.model.RenderingModel |
getParent()
Deprecated. |
int |
getRandomInt()
Deprecated. |
info.magnolia.rendering.model.RenderingModel<?> |
getRoot()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParagraphModelForTests(info.magnolia.cms.core.Content content, info.magnolia.rendering.template.RenderableDefinition renderable, info.magnolia.rendering.model.RenderingModel parent)
Method Detail |
---|
public info.magnolia.rendering.model.RenderingModel getParent()
getParent
in interface info.magnolia.rendering.model.RenderingModel
public javax.jcr.Node getNode()
getNode
in interface info.magnolia.rendering.model.RenderingModel
public info.magnolia.jcr.util.ContentMap getContent()
getContent
in interface info.magnolia.rendering.model.RenderingModel
public info.magnolia.rendering.template.RenderableDefinition getDefinition()
getDefinition
in interface info.magnolia.rendering.model.RenderingModel
public String execute()
execute
in interface info.magnolia.rendering.model.RenderingModel
public info.magnolia.rendering.model.RenderingModel<?> getRoot()
getRoot
in interface info.magnolia.rendering.model.RenderingModel
public String getCount()
public int getRandomInt()
public List<String> getAllowedParagraphs(info.magnolia.cms.core.Content content)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |