|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition info.magnolia.module.templating.AbstractRenderable
ConfiguredRenderableDefinition
instead.
@Deprecated public class AbstractRenderable
Base implementation for paragraph and template definitions. Provides the ConfiguredRenderableDefinition.modelClass
property which is used in the method newModel(Content, RenderableDefinition , RenderingModel)
Constructor Summary | |
---|---|
AbstractRenderable()
Deprecated. |
Method Summary | |
---|---|
String |
determineTemplatePath(String actionResult,
RenderingModel model)
Deprecated. Return always the templateScript property. |
String |
getDescription()
Deprecated. |
String |
getDialog()
Deprecated. |
String |
getI18nBasename()
Deprecated. |
String |
getName()
Deprecated. |
Map |
getParameters()
Deprecated. An arbitrary list of parameters. |
String |
getRenderType()
Deprecated. |
String |
getTemplatePath()
Deprecated. since 4.5 - use getTemplateScript() instead |
String |
getTemplateScript()
Deprecated. |
String |
getTitle()
Deprecated. |
String |
getType()
Deprecated. since 4.5 - use getRenderType() instead |
RenderingModel |
newModel(info.magnolia.cms.core.Content content,
RenderableDefinition definition,
RenderingModel parentModel)
Deprecated. Instantiates the model based on the class defined by the ConfiguredRenderableDefinition.modelClass property. |
void |
setDescription(String description)
Deprecated. |
void |
setDialog(String dialog)
Deprecated. |
void |
setI18nBasename(String basename)
Deprecated. |
void |
setName(String name)
Deprecated. |
void |
setParameters(Map params)
Deprecated. |
void |
setRenderType(String renderType)
Deprecated. |
void |
setTemplatePath(String templatePath)
Deprecated. since 4.5 - use setTemplateScript(String) instead |
void |
setTemplateScript(String templateScript)
Deprecated. |
void |
setTitle(String title)
Deprecated. |
void |
setType(String type)
Deprecated. since 4.5 - use setRenderType(String) instead |
String |
toString()
Deprecated. |
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition |
---|
addArea, getAreas, setAreas |
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition |
---|
addParameter, getAutoGeneration, getId, getModelClass, setAutoGeneration, setId, setModelClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface info.magnolia.rendering.template.RenderableDefinition |
---|
getAutoGeneration, getId, getModelClass, setId |
Constructor Detail |
---|
public AbstractRenderable()
Method Detail |
---|
public String determineTemplatePath(String actionResult, RenderingModel model)
templateScript
property.
public RenderingModel newModel(info.magnolia.cms.core.Content content, RenderableDefinition definition, RenderingModel parentModel) throws IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
ConfiguredRenderableDefinition.modelClass
property. The class must provide a constructor similar to RenderingModelImpl.RenderingModelImpl(Content, RenderableDefinition, RenderingModel)
. All the request parameters are then mapped to the model's properties.
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
public String getName()
getName
in interface info.magnolia.rendering.template.RenderableDefinition
getName
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public String getTitle()
getTitle
in interface info.magnolia.rendering.template.RenderableDefinition
getTitle
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
@Deprecated public String getTemplatePath()
getTemplateScript()
instead
public String getTemplateScript()
getTemplateScript
in interface info.magnolia.rendering.template.RenderableDefinition
getTemplateScript
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
@Deprecated public String getType()
getRenderType()
instead
public String getRenderType()
getRenderType
in interface info.magnolia.rendering.template.RenderableDefinition
getRenderType
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public String getDescription()
getDescription
in interface info.magnolia.rendering.template.RenderableDefinition
getDescription
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public void setDescription(String description)
setDescription
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public void setName(String name)
setName
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
@Deprecated public void setTemplatePath(String templatePath)
setTemplateScript(String)
instead
public void setTemplateScript(String templateScript)
setTemplateScript
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
@Deprecated public void setType(String type)
setRenderType(String)
instead
public void setRenderType(String renderType)
setRenderType
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public void setTitle(String title)
setTitle
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public String getDialog()
getDialog
in interface info.magnolia.rendering.template.TemplateDefinition
getDialog
in class info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition
public void setDialog(String dialog)
setDialog
in class info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition
public String getI18nBasename()
getI18nBasename
in interface info.magnolia.rendering.template.RenderableDefinition
getI18nBasename
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public void setI18nBasename(String basename)
setI18nBasename
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public Map getParameters()
RenderableDefinition
getParameters
in interface info.magnolia.rendering.template.RenderableDefinition
getParameters
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public void setParameters(Map params)
setParameters
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
public String toString()
toString
in class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |