public class AreaElement extends AbstractContentTemplatingElement
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_COMPONENT |
static String |
ATTRIBUTE_COMPONENTS |
static String |
CMS_AREA |
Constructor and Description |
---|
AreaElement(ServerConfiguration server,
RenderingContext renderingContext,
RenderingEngine renderingEngine,
RenderableVariationResolver variationResolver)
Deprecated.
|
AreaElement(ServerConfiguration server,
RenderingContext renderingContext,
RenderingEngine renderingEngine,
RenderableVariationResolver variationResolver,
I18nizer i18nizer) |
getActivationStatus, getContent, getNodeIdentifier, getNodePath, getPassedContent, getPath, getWorkspace, i18nize, isMessageKey, legacyTranslate, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setNodeIdentifier, setPath, setWorkspace
currentContent, getDefinitionMessage, getInterfaceMessage, getRenderingContext, getServer, isAdmin
public static final String CMS_AREA
public static final String ATTRIBUTE_COMPONENT
public static final String ATTRIBUTE_COMPONENTS
@Inject public AreaElement(ServerConfiguration server, RenderingContext renderingContext, RenderingEngine renderingEngine, RenderableVariationResolver variationResolver, I18nizer i18nizer)
@Deprecated public AreaElement(ServerConfiguration server, RenderingContext renderingContext, RenderingEngine renderingEngine, RenderableVariationResolver variationResolver)
AreaElement(info.magnolia.cms.beans.config.ServerConfiguration, info.magnolia.rendering.context.RenderingContext, info.magnolia.rendering.engine.RenderingEngine, info.magnolia.rendering.template.variation.RenderableVariationResolver, info.magnolia.i18nsystem.I18nizer)
instead.public void begin(Appendable out) throws IOException, RenderException
begin
in interface TemplatingElement
begin
in class AbstractTemplatingElement
IOException
RenderException
protected void buildAdHocAreaDefinition()
public void end(Appendable out) throws RenderException
AbstractTemplatingElement
end
in interface TemplatingElement
end
in class AbstractTemplatingElement
RenderException
protected javax.jcr.Node tryToCreateAreaNode(javax.jcr.Node parentNode) throws RenderException
RenderException
protected AreaDefinition resolveAreaDefinition()
protected TemplateDefinition resolveTemplateDefinition() throws RenderException
RenderException
protected String resolveAvailableComponents()
public String getName()
public void setName(String name)
public AreaDefinition getArea()
public void setArea(AreaDefinition area)
public String getAvailableComponents()
public void setAvailableComponents(String availableComponents)
public String getType()
public void setType(String type)
public String getDialog()
public void setDialog(String dialog)
public String getLabel()
public void setLabel(String label)
public String getDescription()
public void setDescription(String description)
public boolean isInherit()
public void setInherit(boolean inherit)
public Boolean getEditable()
public void setEditable(Boolean editable)
public Integer getMaxComponents()
public void setMaxComponents(Integer maxComponents)
public Boolean getCreateAreaNode()
public void setCreateAreaNode(Boolean createAreaNode)
protected boolean renderComments()
AbstractContentTemplatingElement
renderComments
in class AbstractContentTemplatingElement
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.