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$
getAssignedTemplate
String getAssignedTemplate(javax.jcr.Node content)
throws javax.jcr.RepositoryException
- Returns the id of the template assigned to a node or null if none has been assigned.
- Throws:
javax.jcr.RepositoryException
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-2013 Magnolia International Ltd.. All Rights Reserved.