info.magnolia.rendering.model
Interface EarlyExecutionAware<RD extends RenderableDefinition>

Type Parameters:
RD - a type implementing RenderableDefinition
All Superinterfaces:
RenderingModel<RD>

public interface EarlyExecutionAware<RD extends RenderableDefinition>
extends RenderingModel<RD>

Implemented by models that want to handle early execution in a separate callback. Also adds a setter for the parent model. It is called after early execution and before rendering.

Version:
$Id$
See Also:
RenderingModel, ModelExecutionFilter

Field Summary
 
Fields inherited from interface info.magnolia.rendering.model.RenderingModel
SKIP_RENDERING
 
Method Summary
 String executeEarly()
          Called after all properties were set.
 void setParent(RenderingModel parentModel)
          Called before rendering of the component.
 
Methods inherited from interface info.magnolia.rendering.model.RenderingModel
execute, getContent, getDefinition, getNode, getParent, getRoot
 

Method Detail

setParent

void setParent(RenderingModel parentModel)
Called before rendering of the component.

Parameters:
parentModel -

executeEarly

String executeEarly()
Called after all properties were set. Can return a string which is passed to the method. RenderableDefinition#determineTemplatePath(String, RenderingModel)



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