info.magnolia.rendering.template.configured
Class ConfiguredRenderableDefinition
java.lang.Object
info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
- All Implemented Interfaces:
- RenderableDefinition
- Direct Known Subclasses:
- ConfiguredTemplateDefinition
public class ConfiguredRenderableDefinition
- extends Object
- implements RenderableDefinition
A RenderableDefinition
configured in the configuration workspace.
- Version:
- $Id$
parameters
protected Map<String,Object> parameters
ConfiguredRenderableDefinition
public ConfiguredRenderableDefinition()
getId
public String getId()
- Specified by:
getId
in interface RenderableDefinition
setId
public void setId(String id)
- Specified by:
setId
in interface RenderableDefinition
getName
public String getName()
- Specified by:
getName
in interface RenderableDefinition
getTitle
public String getTitle()
- Specified by:
getTitle
in interface RenderableDefinition
getTemplateScript
public String getTemplateScript()
- Specified by:
getTemplateScript
in interface RenderableDefinition
getRenderType
public String getRenderType()
- Specified by:
getRenderType
in interface RenderableDefinition
getDescription
public String getDescription()
- Specified by:
getDescription
in interface RenderableDefinition
setDescription
public void setDescription(String description)
setName
public void setName(String name)
setTemplateScript
public void setTemplateScript(String templateScript)
setRenderType
public void setRenderType(String renderType)
setTitle
public void setTitle(String title)
getI18nBasename
public String getI18nBasename()
- Specified by:
getI18nBasename
in interface RenderableDefinition
setI18nBasename
public void setI18nBasename(String basename)
getModelClass
public Class getModelClass()
- Specified by:
getModelClass
in interface RenderableDefinition
setModelClass
public void setModelClass(Class modelClass)
getVariations
public Map<String,RenderableDefinition> getVariations()
- Specified by:
getVariations
in interface RenderableDefinition
setVariations
public void setVariations(Map<String,RenderableDefinition> variations)
addVariation
public void addVariation(String name,
RenderableDefinition variation)
getParameters
public Map<String,Object> getParameters()
- Description copied from interface:
RenderableDefinition
- An arbitrary list of parameters. Used to omit subclass with getters and setters for each
extra parameter.
- Specified by:
getParameters
in interface RenderableDefinition
setParameters
public void setParameters(Map<String,Object> params)
addParameter
public void addParameter(String name,
Object parameter)
getAutoGeneration
public AutoGenerationConfiguration getAutoGeneration()
- Specified by:
getAutoGeneration
in interface RenderableDefinition
setAutoGeneration
public void setAutoGeneration(AutoGenerationConfiguration autoGeneration)
toString
public String toString()
- Overrides:
toString
in class Object
getAutoPopulateFromRequest
public Boolean getAutoPopulateFromRequest()
- Specified by:
getAutoPopulateFromRequest
in interface RenderableDefinition
setAutoPopulateFromRequest
public void setAutoPopulateFromRequest(Boolean autoPopulateFromRequest)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.