public class ConfiguredRenderableDefinition extends Object implements RenderableDefinition
RenderableDefinition
configured in the configuration workspace.Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
parameters |
Constructor and Description |
---|
ConfiguredRenderableDefinition() |
public String getId()
getId
in interface RenderableDefinition
public void setId(String id)
setId
in interface RenderableDefinition
public String getName()
getName
in interface NamedDefinition
getName
in interface RenderableDefinition
public String getTitle()
getTitle
in interface RenderableDefinition
public String getTemplateScript()
getTemplateScript
in interface RenderableDefinition
public String getRenderType()
getRenderType
in interface RenderableDefinition
public String getDescription()
getDescription
in interface RenderableDefinition
public void setDescription(String description)
public void setName(String name)
public void setTemplateScript(String templateScript)
public void setRenderType(String renderType)
public void setTitle(String title)
@Deprecated public String getI18nBasename()
RenderableDefinition
RenderableDefinition.getTitle()
and RenderableDefinition.getDescription()
.
The new i18n mechanism generates the keys via RenderableDefinitionKeyGenerator
automatically.getI18nBasename
in interface RenderableDefinition
@Deprecated public void setI18nBasename(String basename)
public Class getModelClass()
getModelClass
in interface RenderableDefinition
public void setModelClass(Class modelClass)
public Map<String,RenderableDefinition> getVariations()
getVariations
in interface RenderableDefinition
public void setVariations(Map<String,RenderableDefinition> variations)
public void addVariation(String name, RenderableDefinition variation)
public Map<String,Object> getParameters()
RenderableDefinition
getParameters
in interface RenderableDefinition
public AutoGenerationConfiguration getAutoGeneration()
getAutoGeneration
in interface RenderableDefinition
public void setAutoGeneration(AutoGenerationConfiguration autoGeneration)
public Boolean getAutoPopulateFromRequest()
getAutoPopulateFromRequest
in interface RenderableDefinition
public void setAutoPopulateFromRequest(Boolean autoPopulateFromRequest)
public FragmentDefinition getFragmentDefinition()
getFragmentDefinition
in interface RenderableDefinition
public void setFragmentDefinition(FragmentDefinition fragmentDefinition)
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.