public class ConfiguredAreaDefinition extends ConfiguredTemplateDefinition implements AreaDefinition
AreaDefinition
configured in the configuration workspace.parameters
CMS_ADD, CMS_EDIT, CMS_PLACEHOLDER, CONTENT_STRUCTURE_FLAT, CONTENT_STRUCTURE_NODE, DEFAULT_TYPE, TYPE_LIST, TYPE_NO_COMPONENT, TYPE_SINGLE
Constructor and Description |
---|
ConfiguredAreaDefinition()
Deprecated.
|
ConfiguredAreaDefinition(TemplateAvailability templateAvailability) |
addArea, getAreas, getDeletable, getDialog, getEditable, getMoveable, getSubtype, getTemplateAvailability, getVisible, getWritable, setAreas, setDeletable, setDialog, setEditable, setMoveable, setSubtype, setTemplateAvailability, setVisible, setWritable
addParameter, addVariation, getAutoGeneration, getAutoPopulateFromRequest, getDescription, getFragmentDefinition, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setAutoGeneration, setAutoPopulateFromRequest, setDescription, setFragmentDefinition, setI18nBasename, setId, setModelClass, setName, setParameters, setRenderType, setTemplateScript, setTitle, setVariations, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAreas, getDeletable, getDialog, getEditable, getMoveable, getSubtype, getTemplateAvailability, getVisible, getWritable
getAutoGeneration, getAutoPopulateFromRequest, getDescription, getFragmentDefinition, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId
@Deprecated public ConfiguredAreaDefinition()
ConfiguredAreaDefinition(TemplateAvailability templateAvailability)
@Inject public ConfiguredAreaDefinition(TemplateAvailability templateAvailability)
public Map<String,ComponentAvailability> getAvailableComponents()
getAvailableComponents
in interface AreaDefinition
public void setAvailableComponents(Map<String,ComponentAvailability> availableComponents)
public void addAvailableComponent(String name, ComponentAvailability configuredComponentAvailability)
public Boolean getEnabled()
getEnabled
in interface AreaDefinition
public void setEnabled(Boolean enabled)
public String getType()
TemplateDefinition
getType
in interface AreaDefinition
getType
in interface TemplateDefinition
getType
in class ConfiguredTemplateDefinition
public void setType(String type)
setType
in class ConfiguredTemplateDefinition
public String getContentStructure()
getContentStructure
in interface AreaDefinition
public void setContentStructure(String contentStructure)
public InheritanceConfiguration getInheritance()
getInheritance
in interface AreaDefinition
public void setInheritance(InheritanceConfiguration inheritanceConfiguration)
public Boolean isOptional()
AreaDefinition
isOptional
in interface AreaDefinition
public Boolean isEnabled()
isEnabled
in interface AreaDefinition
public Boolean getOptional()
AreaDefinition
getOptional
in interface AreaDefinition
public void setOptional(Boolean optional)
public Integer getMaxComponents()
getMaxComponents
in interface AreaDefinition
public void setCreateAreaNode(Boolean createAreaNode)
public Boolean getCreateAreaNode()
getCreateAreaNode
in interface AreaDefinition
public void setMaxComponents(Integer maxComponents)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.