|
||||||||||
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(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, getEditable, getTemplateAvailability, getVisible, setAreas, setEditable, setTemplateAvailability, setVisible |
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition |
---|
addParameter, addVariation, getAutoGeneration, getId, getModelClass, getVariations, setAutoGeneration, setId, setModelClass, setVariations |
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, getVariations, setId |
Constructor Detail |
---|
public AbstractRenderable()
Method Detail |
---|
public String determineTemplatePath(String actionResult, RenderingModel model)
templateScript
property.
public RenderingModel newModel(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 RenderableDefinition
getName
in class ConfiguredRenderableDefinition
public String getTitle()
getTitle
in interface RenderableDefinition
getTitle
in class ConfiguredRenderableDefinition
@Deprecated public String getTemplatePath()
getTemplateScript()
instead
public String getTemplateScript()
getTemplateScript
in interface RenderableDefinition
getTemplateScript
in class ConfiguredRenderableDefinition
@Deprecated public String getType()
getRenderType()
instead
public String getRenderType()
getRenderType
in interface RenderableDefinition
getRenderType
in class ConfiguredRenderableDefinition
public String getDescription()
getDescription
in interface RenderableDefinition
getDescription
in class ConfiguredRenderableDefinition
public void setDescription(String description)
setDescription
in class ConfiguredRenderableDefinition
public void setName(String name)
setName
in class ConfiguredRenderableDefinition
@Deprecated public void setTemplatePath(String templatePath)
setTemplateScript(String)
instead
public void setTemplateScript(String templateScript)
setTemplateScript
in class ConfiguredRenderableDefinition
@Deprecated public void setType(String type)
setRenderType(String)
instead
public void setRenderType(String renderType)
setRenderType
in class ConfiguredRenderableDefinition
public void setTitle(String title)
setTitle
in class ConfiguredRenderableDefinition
public String getDialog()
getDialog
in interface TemplateDefinition
getDialog
in class ConfiguredTemplateDefinition
public void setDialog(String dialog)
setDialog
in class ConfiguredTemplateDefinition
public String getI18nBasename()
getI18nBasename
in interface RenderableDefinition
getI18nBasename
in class ConfiguredRenderableDefinition
public void setI18nBasename(String basename)
setI18nBasename
in class ConfiguredRenderableDefinition
public Map getParameters()
RenderableDefinition
getParameters
in interface RenderableDefinition
getParameters
in class ConfiguredRenderableDefinition
public void setParameters(Map params)
setParameters
in class ConfiguredRenderableDefinition
public String toString()
toString
in class ConfiguredRenderableDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |