|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.ObservedManager info.magnolia.module.templating.TemplateManager
TemplateDefinitionRegistry
instead
@Singleton public class TemplateManager
Manages the templates of the system.
Field Summary |
---|
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager |
---|
log, registeredUUIDs |
Constructor Summary | |
---|---|
TemplateManager()
Deprecated. |
Method Summary | |
---|---|
Iterator<Template> |
getAvailableTemplates()
Deprecated. Get templates collection. |
Iterator<Template> |
getAvailableTemplates(Content node)
Deprecated. |
Template |
getDefaultTemplate(Content node)
Deprecated. Get the Template that could be used for the provided Content as a default. |
Template |
getInfo(String key,
String extension)
Deprecated. Returns the cached content of the requested template. |
static TemplateManager |
getInstance()
Deprecated. |
Template |
getTemplateDefinition(String key)
Deprecated. Returns the cached content of the requested template. |
protected void |
onClear()
Deprecated. The implementor should clear everthing. |
protected void |
onRegister(Content node)
Deprecated. Called by the ObservedManager. |
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager |
---|
clear, register, reload, reload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateManager()
Method Detail |
---|
protected void onRegister(Content node)
onRegister
in class ObservedManager
protected void onClear()
ObservedManager
onClear
in class ObservedManager
public Template getTemplateDefinition(String key)
public Template getInfo(String key, String extension)
public Iterator<Template> getAvailableTemplates(Content node)
public Iterator<Template> getAvailableTemplates()
public Template getDefaultTemplate(Content node)
public static TemplateManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |