info.magnolia.rendering.template.configured
Class ConfiguredAreaDefinition
java.lang.Object
info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition
info.magnolia.rendering.template.configured.ConfiguredAreaDefinition
- All Implemented Interfaces:
- AreaDefinition, RenderableDefinition, TemplateDefinition, Cloneable
public class ConfiguredAreaDefinition
- extends ConfiguredTemplateDefinition
- implements AreaDefinition
A AreaDefinition
configured in the configuration workspace.
- Version:
- $Id$
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition |
addParameter, addVariation, getAutoGeneration, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setAutoGeneration, setDescription, setI18nBasename, setId, setModelClass, setName, setParameters, setRenderType, setTemplateScript, setTitle, setVariations, toString |
Methods inherited from interface info.magnolia.rendering.template.RenderableDefinition |
getAutoGeneration, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId |
ConfiguredAreaDefinition
public ConfiguredAreaDefinition()
getAvailableComponents
public Map<String,ComponentAvailability> getAvailableComponents()
- Specified by:
getAvailableComponents
in interface AreaDefinition
setAvailableComponents
public void setAvailableComponents(Map<String,ComponentAvailability> availableComponents)
addAvailableComponent
public void addAvailableComponent(String name,
ComponentAvailability configuredComponentAvailability)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface AreaDefinition
setEnabled
public void setEnabled(boolean enabled)
getType
public String getType()
- Specified by:
getType
in interface AreaDefinition
setType
public void setType(String type)
getInheritance
public InheritanceConfiguration getInheritance()
- Specified by:
getInheritance
in interface AreaDefinition
setInheritance
public void setInheritance(InheritanceConfiguration inheritanceConfiguration)
isOptional
public boolean isOptional()
- Description copied from interface:
AreaDefinition
- If an area is optional it has first to be created explicitly (i.e. via a create button). Optional areas can be removed (i.e. via a remove button), whereas
non optional (namely required) areas are always created and can not be removed. By default, areas are required.
- Specified by:
isOptional
in interface AreaDefinition
setOptional
public void setOptional(boolean optional)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.