info.magnolia.rendering.template.configured
Class ConfiguredTemplateDefinition

java.lang.Object
  extended by info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
      extended by info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition
All Implemented Interfaces:
RenderableDefinition, TemplateDefinition
Direct Known Subclasses:
ConfiguredAreaDefinition, SampleTemplate

public class ConfiguredTemplateDefinition
extends ConfiguredRenderableDefinition
implements TemplateDefinition

A TemplateDefinition configured in the configuration workspace.


Field Summary
 
Fields inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
parameters
 
Constructor Summary
ConfiguredTemplateDefinition()
          Deprecated. use ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)
ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)
           
 
Method Summary
 void addArea(String name, AreaDefinition areaDefinition)
           
 Map<String,AreaDefinition> getAreas()
           
 Boolean getDeletable()
           
 String getDialog()
           
 Boolean getEditable()
           
 Boolean getMoveable()
           
 TemplateAvailability getTemplateAvailability()
           
 Boolean getVisible()
           
 Boolean getWritable()
           
 void setAreas(Map<String,AreaDefinition> areaDefinitions)
           
 void setDeletable(Boolean deletable)
           
 void setDialog(String dialog)
           
 void setEditable(Boolean editable)
           
 void setMoveable(Boolean moveable)
           
 void setTemplateAvailability(TemplateAvailability templateAvailability)
           
 void setVisible(Boolean visible)
           
 void setWritable(Boolean writable)
           
 
Methods inherited from class info.magnolia.rendering.template.configured.ConfiguredRenderableDefinition
addParameter, addVariation, getAutoGeneration, getAutoPopulateFromRequest, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setAutoGeneration, setAutoPopulateFromRequest, setDescription, setI18nBasename, setId, setModelClass, setName, setParameters, setRenderType, setTemplateScript, setTitle, setVariations, toString
 
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, getAutoPopulateFromRequest, getDescription, getI18nBasename, getId, getModelClass, getName, getParameters, getRenderType, getTemplateScript, getTitle, getVariations, setId
 

Constructor Detail

ConfiguredTemplateDefinition

public ConfiguredTemplateDefinition()
Deprecated. use ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)


ConfiguredTemplateDefinition

@Inject
public ConfiguredTemplateDefinition(TemplateAvailability templateAvailability)
Method Detail

getVisible

public Boolean getVisible()
Specified by:
getVisible in interface TemplateDefinition

setVisible

public void setVisible(Boolean visible)

getEditable

public Boolean getEditable()
Specified by:
getEditable in interface TemplateDefinition

setEditable

public void setEditable(Boolean editable)

getMoveable

public Boolean getMoveable()
Specified by:
getMoveable in interface TemplateDefinition

setMoveable

public void setMoveable(Boolean moveable)

getDeletable

public Boolean getDeletable()
Specified by:
getDeletable in interface TemplateDefinition

setDeletable

public void setDeletable(Boolean deletable)

getWritable

public Boolean getWritable()
Specified by:
getWritable in interface TemplateDefinition

setWritable

public void setWritable(Boolean writable)

getDialog

public String getDialog()
Specified by:
getDialog in interface TemplateDefinition

setDialog

public void setDialog(String dialog)

getAreas

public Map<String,AreaDefinition> getAreas()
Specified by:
getAreas in interface TemplateDefinition

setAreas

public void setAreas(Map<String,AreaDefinition> areaDefinitions)

addArea

public void addArea(String name,
                    AreaDefinition areaDefinition)

getTemplateAvailability

public TemplateAvailability getTemplateAvailability()
Specified by:
getTemplateAvailability in interface TemplateDefinition

setTemplateAvailability

public void setTemplateAvailability(TemplateAvailability templateAvailability)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.