org.apache.jackrabbit.jcr2spi.nodetype
Interface EffectiveNodeTypeProvider

All Known Implementing Classes:
NodeTypeRegistryImpl

public interface EffectiveNodeTypeProvider

EffectiveNodeTypeProvider...


Method Summary
 EffectiveNodeType getEffectiveNodeType(Name ntName)
          Build the EffectiveNodeType from the given qualified NodeType name.
 EffectiveNodeType getEffectiveNodeType(Name[] ntNames)
          Build the EffectiveNodeType from the given qualified NodeType names.
 EffectiveNodeType getEffectiveNodeType(Name[] ntNames, Map ntdMap)
           
 EffectiveNodeType getEffectiveNodeType(QNodeTypeDefinition ntd, Map ntdMap)
          Builds an effective node type representation from the given node type definition.
 

Method Detail

getEffectiveNodeType

EffectiveNodeType getEffectiveNodeType(Name ntName)
                                       throws NoSuchNodeTypeException
Build the EffectiveNodeType from the given qualified NodeType name.

Parameters:
ntName -
Returns:
Throws:
NoSuchNodeTypeException

getEffectiveNodeType

EffectiveNodeType getEffectiveNodeType(Name[] ntNames)
                                       throws ConstraintViolationException,
                                              NoSuchNodeTypeException
Build the EffectiveNodeType from the given qualified NodeType names.

Parameters:
ntNames -
Returns:
Throws:
ConstraintViolationException
NoSuchNodeTypeException

getEffectiveNodeType

EffectiveNodeType getEffectiveNodeType(Name[] ntNames,
                                       Map ntdMap)
                                       throws ConstraintViolationException,
                                              NoSuchNodeTypeException
Parameters:
ntNames -
ntdMap -
Returns:
Throws:
ConstraintViolationException
NoSuchNodeTypeException

getEffectiveNodeType

EffectiveNodeType getEffectiveNodeType(QNodeTypeDefinition ntd,
                                       Map ntdMap)
                                       throws ConstraintViolationException,
                                              NoSuchNodeTypeException
Builds an effective node type representation from the given node type definition. Whereas all referenced node types must exist (i.e. must be present in the specified map), the definition itself is not required to be registered.

Parameters:
ntd -
ntdMap -
Returns:
Throws:
ConstraintViolationException
NoSuchNodeTypeException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.