info.magnolia.rendering.template.registry
Class DefaultTemplateAvailability

java.lang.Object
  extended by info.magnolia.rendering.template.registry.DefaultTemplateAvailability
All Implemented Interfaces:
TemplateAvailability

@Singleton
public class DefaultTemplateAvailability
extends Object
implements TemplateAvailability

Default implementation of TemplateAvailability.

Version:
$Id$

Constructor Summary
DefaultTemplateAvailability()
           
 
Method Summary
protected  boolean hasReadAccess(javax.jcr.Node content)
           
 boolean isAvailable(javax.jcr.Node content, TemplateDefinition templateDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTemplateAvailability

public DefaultTemplateAvailability()
Method Detail

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.