info.magnolia.rendering.template.configured
Class ConfiguredTemplateDefinition
java.lang.Object
info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition
- All Implemented Interfaces:
- RenderableDefinition, TemplateDefinition
- Direct Known Subclasses:
- ConfiguredAreaDefinition, SampleTemplate
public class ConfiguredTemplateDefinition
- extends ConfiguredRenderableDefinition
- implements TemplateDefinition
A TemplateDefinition
configured in the configuration workspace.
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition |
addParameter, addVariation, getAutoGeneration, getAutoPopulateFromRequest, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setAutoGeneration, setAutoPopulateFromRequest, setDescription, setI18nBasename, setId, setModelClass, setName, setParameters, setRenderType, setTemplateScript, setTitle, setVariations, toString |
Methods inherited from interface info.magnolia.rendering.template.RenderableDefinition |
getAutoGeneration, getAutoPopulateFromRequest, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId |
ConfiguredTemplateDefinition
public ConfiguredTemplateDefinition()
- Deprecated. use
ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)
ConfiguredTemplateDefinition
@Inject
public ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)
getVisible
public Boolean getVisible()
- Specified by:
getVisible
in interface TemplateDefinition
setVisible
public void setVisible(Boolean visible)
getEditable
public Boolean getEditable()
- Specified by:
getEditable
in interface TemplateDefinition
setEditable
public void setEditable(Boolean editable)
getMoveable
public Boolean getMoveable()
- Specified by:
getMoveable
in interface TemplateDefinition
setMoveable
public void setMoveable(Boolean moveable)
getDeletable
public Boolean getDeletable()
- Specified by:
getDeletable
in interface TemplateDefinition
setDeletable
public void setDeletable(Boolean deletable)
getWritable
public Boolean getWritable()
- Specified by:
getWritable
in interface TemplateDefinition
setWritable
public void setWritable(Boolean writable)
getDialog
public String getDialog()
- Specified by:
getDialog
in interface TemplateDefinition
setDialog
public void setDialog(String dialog)
getAreas
public Map<String,AreaDefinition> getAreas()
- Specified by:
getAreas
in interface TemplateDefinition
setAreas
public void setAreas(Map<String,AreaDefinition> areaDefinitions)
addArea
public void addArea(String name,
AreaDefinition areaDefinition)
getTemplateAvailability
public TemplateAvailability getTemplateAvailability()
- Specified by:
getTemplateAvailability
in interface TemplateDefinition
setTemplateAvailability
public void setTemplateAvailability(TemplateAvailability templateAvailability)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.