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) |
Modifier and Type | Method and Description |
---|---|
void |
addAvailableComponent(String name,
ComponentAvailability configuredComponentAvailability) |
Map<String,ComponentAvailability> |
getAvailableComponents() |
String |
getContentStructure() |
Boolean |
getCreateAreaNode() |
Boolean |
getEnabled() |
InheritanceConfiguration |
getInheritance() |
Integer |
getMaxComponents() |
Boolean |
getOptional()
If an area is optional it has first to be created explicitly (i.e. via a create button).
|
String |
getType()
Specifies the template type, e.g.
|
Boolean |
isEnabled() |
Boolean |
isOptional()
If an area is optional it has first to be created explicitly (i.e. via a create button).
|
void |
setAvailableComponents(Map<String,ComponentAvailability> availableComponents) |
void |
setContentStructure(String contentStructure) |
void |
setCreateAreaNode(Boolean createAreaNode) |
void |
setEnabled(Boolean enabled) |
void |
setInheritance(InheritanceConfiguration inheritanceConfiguration) |
void |
setMaxComponents(Integer maxComponents) |
void |
setOptional(Boolean optional) |
void |
setType(String type) |
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
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–2017 Magnolia International Ltd.. All rights reserved.