info.magnolia.rendering.template.registry
Class DefaultTemplateAvailability
java.lang.Object
info.magnolia.rendering.template.registry.DefaultTemplateAvailability
- All Implemented Interfaces:
- TemplateAvailability
@Singleton
public class DefaultTemplateAvailability
- extends Object
- implements TemplateAvailability
Default implementation of TemplateAvailability
.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTemplateAvailability
public DefaultTemplateAvailability()
isAvailable
public boolean isAvailable(javax.jcr.Node content,
TemplateDefinition templateDefinition)
- Specified by:
isAvailable
in interface TemplateAvailability
hasReadAccess
protected boolean hasReadAccess(javax.jcr.Node content)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.