info.magnolia.testframework.util
Class ParagraphModelForTests

java.lang.Object
  extended by info.magnolia.testframework.util.ParagraphModelForTests
All Implemented Interfaces:
info.magnolia.rendering.model.RenderingModel

Deprecated. since 5.0 use ComponentModelForTests instead.

@Deprecated
public class ParagraphModelForTests
extends Object
implements info.magnolia.rendering.model.RenderingModel

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

ParagraphModelForTests

public ParagraphModelForTests(info.magnolia.cms.core.Content content,
                              info.magnolia.rendering.template.RenderableDefinition renderable,
                              info.magnolia.rendering.model.RenderingModel parent)
Deprecated. 
Method Detail

getParent

public info.magnolia.rendering.model.RenderingModel getParent()
Deprecated. 
Specified by:
getParent in interface info.magnolia.rendering.model.RenderingModel

getNode

public javax.jcr.Node getNode()
Deprecated. 
Specified by:
getNode in interface info.magnolia.rendering.model.RenderingModel

getContent

public info.magnolia.jcr.util.ContentMap getContent()
Deprecated. 
Specified by:
getContent in interface info.magnolia.rendering.model.RenderingModel

getDefinition

public info.magnolia.rendering.template.RenderableDefinition getDefinition()
Deprecated. 
Specified by:
getDefinition in interface info.magnolia.rendering.model.RenderingModel

execute

public String execute()
Deprecated. 
Specified by:
execute in interface info.magnolia.rendering.model.RenderingModel

getRoot

public info.magnolia.rendering.model.RenderingModel<?> getRoot()
Deprecated. 
Specified by:
getRoot in interface info.magnolia.rendering.model.RenderingModel

getCount

public String getCount()
Deprecated. 

getRandomInt

public int getRandomInt()
Deprecated. 

getAllowedParagraphs

public List<String> getAllowedParagraphs(info.magnolia.cms.core.Content content)
Deprecated. 


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.