public interface TemplateDefinition extends RenderableDefinition
RenderableDefinition
which supports editing in the page editor and can define their areas.
Provides additional information such as template type and subtype which can be used for
TemplateAvailability
. Default template types are provided in
DefaultTemplateTypes
.
Modifier and Type | Method and Description |
---|---|
Map<String,AreaDefinition> |
getAreas() |
Boolean |
getDeletable() |
String |
getDialog() |
Boolean |
getEditable() |
Boolean |
getMoveable() |
String |
getSubtype()
Specifies the template subtype, such as specific features, e.g.
|
TemplateAvailability |
getTemplateAvailability() |
String |
getType()
Specifies the template type, e.g.
|
Boolean |
getVisible() |
Boolean |
getWritable() |
getAutoGeneration, getAutoPopulateFromRequest, getDescription, getFragmentDefinition, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId
Boolean getVisible()
String getDialog()
Map<String,AreaDefinition> getAreas()
TemplateAvailability getTemplateAvailability()
String getType()
String getSubtype()
Boolean getEditable()
Boolean getMoveable()
Boolean getDeletable()
Boolean getWritable()
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.