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.ConfiguredTemplateDefinition |
addArea, getAreas, getDeletable, getDialog, getEditable, getMoveable, getTemplateAvailability, getVisible, getWritable, setAreas, setDeletable, setDialog, setEditable, setMoveable, setTemplateAvailability, setVisible, setWritable |
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)
getEnabled
public Boolean getEnabled()
- Specified by:
getEnabled
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)
getContentStructure
public String getContentStructure()
- Specified by:
getContentStructure
in interface AreaDefinition
setContentStructure
public void setContentStructure(String contentStructure)
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
isEnabled
public Boolean isEnabled()
- Specified by:
isEnabled
in interface AreaDefinition
getOptional
public Boolean getOptional()
- 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:
getOptional
in interface AreaDefinition
setOptional
public void setOptional(Boolean optional)
getMaxComponents
public Integer getMaxComponents()
- Specified by:
getMaxComponents
in interface AreaDefinition
setMaxComponents
public void setMaxComponents(Integer maxComponents)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.