|
||||||||||
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(info.magnolia.cms.core.Content node)
Deprecated. |
Template |
getDefaultTemplate(info.magnolia.cms.core.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. |
protected void |
onRegister(info.magnolia.cms.core.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(info.magnolia.cms.core.Content node)
onRegister
in class info.magnolia.cms.beans.config.ObservedManager
protected void onClear()
onClear
in class info.magnolia.cms.beans.config.ObservedManager
public Template getTemplateDefinition(String key)
public Template getInfo(String key, String extension)
public Iterator<Template> getAvailableTemplates(info.magnolia.cms.core.Content node)
public Iterator<Template> getAvailableTemplates()
public Template getDefaultTemplate(info.magnolia.cms.core.Content node)
public static TemplateManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |