public interface AreaDefinition extends TemplateDefinition, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
CMS_ADD |
static String |
CMS_EDIT |
static String |
CMS_PLACEHOLDER |
static String |
CONTENT_STRUCTURE_FLAT |
static String |
CONTENT_STRUCTURE_NODE |
static String |
DEFAULT_TYPE |
static String |
TYPE_LIST |
static String |
TYPE_NO_COMPONENT |
static String |
TYPE_SINGLE |
Modifier and Type | Method and Description |
---|---|
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()
|
Boolean |
isEnabled()
Deprecated.
since 5.0 - use
getEnabled() instead. |
Boolean |
isOptional()
Deprecated.
since 4.5.9 - use
getOptional() instead. |
getAreas, getDeletable, getDialog, getEditable, getMoveable, getSubtype, getTemplateAvailability, getVisible, getWritable
getAutoGeneration, getAutoPopulateFromRequest, getDescription, getFragmentDefinition, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId
static final String TYPE_NO_COMPONENT
static final String TYPE_LIST
static final String TYPE_SINGLE
static final String CONTENT_STRUCTURE_FLAT
static final String CONTENT_STRUCTURE_NODE
static final String DEFAULT_TYPE
static final String CMS_ADD
static final String CMS_PLACEHOLDER
static final String CMS_EDIT
Map<String,ComponentAvailability> getAvailableComponents()
Boolean getEnabled()
Boolean getOptional()
String getType()
TYPE_LIST
, TYPE_SINGLE
and DEFAULT_TYPE
.
TYPE_LIST
: area can contain multiple elementsTYPE_SINGLE
: area can contain one element onlygetType
in interface TemplateDefinition
String getContentStructure()
InheritanceConfiguration getInheritance()
@Deprecated Boolean isOptional()
getOptional()
instead.@Deprecated Boolean isEnabled()
getEnabled()
instead.Integer getMaxComponents()
Boolean getCreateAreaNode()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.