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.
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 info.magnolia.registry.RegistrationException
- Throws:
info.magnolia.registry.RegistrationException
getDefaultTemplate
TemplateDefinition getDefaultTemplate(javax.jcr.Node content)
getAvailableTemplates
Collection<TemplateDefinition> getAvailableTemplates(javax.jcr.Node content)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.