info.magnolia.module.templating
Interface RenderableDefinition

All Known Implementing Classes:
AbstractRenderable, Paragraph, Paragraph, Template, Template

public interface RenderableDefinition

Abstract rendering definition used for templates and paragraphs.

Version:
$Id: RenderableDefinition.java 32667 2010-03-13 00:37:06Z gjoseph $
Author:
pbracher

Method Summary
 String determineTemplatePath(String actionResult, RenderingModel model)
          The modules execute() method can return a string which is passed to this method to determine the template to use.
 String getDescription()
           
 String getDialog()
           
 String getI18nBasename()
           
 String getName()
           
 Map getParameters()
          An arbitrary list of parameters.
 String getTemplatePath()
           
 String getTitle()
           
 String getType()
           
 RenderingModel newModel(info.magnolia.cms.core.Content content, RenderableDefinition definition, RenderingModel parentModel)
          Create the model based on the current content.
 

Method Detail

getName

String getName()

getType

String getType()

getTitle

String getTitle()

getDescription

String getDescription()

getI18nBasename

String getI18nBasename()

getTemplatePath

String getTemplatePath()

getDialog

String getDialog()

getParameters

Map getParameters()
An arbitrary list of parameters. Used to omit subclass with getters and setters for each extra parameter.


newModel

RenderingModel newModel(info.magnolia.cms.core.Content content,
                        RenderableDefinition definition,
                        RenderingModel parentModel)
                        throws IllegalArgumentException,
                               InstantiationException,
                               IllegalAccessException,
                               InvocationTargetException
Create the model based on the current content.

Throws:
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException

determineTemplatePath

String determineTemplatePath(String actionResult,
                             RenderingModel model)
The modules execute() method can return a string which is passed to this method to determine the template to use.



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