info.magnolia.rendering.template.assignment
Interface TemplateDefinitionAssignment

All Known Implementing Classes:
MetaDataBasedTemplateDefinitionAssignment

public interface TemplateDefinitionAssignment

Knows which template to use for the rendering of the content.

Version:
$Id$

Method Summary
 TemplateDefinition getAssignedTemplateDefinition(javax.jcr.Node content)
           
 Collection<TemplateDefinition> getAvailableTemplates(javax.jcr.Node content)
           
 TemplateDefinition getDefaultTemplate(javax.jcr.Node content)
           
 

Method Detail

getAssignedTemplateDefinition

TemplateDefinition getAssignedTemplateDefinition(javax.jcr.Node content)
                                                 throws RegistrationException
Throws:
RegistrationException

getDefaultTemplate

TemplateDefinition getDefaultTemplate(javax.jcr.Node content)

getAvailableTemplates

Collection<TemplateDefinition> getAvailableTemplates(javax.jcr.Node content)


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.