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(NodeState nodeState)
          Build the effective (i.e.
 

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 NodeTypeConflictException,
                                              NoSuchNodeTypeException
Build the EffectiveNodeType from the given qualified NodeType names.

Parameters:
ntNames -
Returns:
Throws:
NodeTypeConflictException
NoSuchNodeTypeException
NodeTypeConflictException

getEffectiveNodeType

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

getEffectiveNodeType

EffectiveNodeType getEffectiveNodeType(NodeState nodeState)
                                       throws NoSuchNodeTypeException,
                                              ConstraintViolationException
Build the effective (i.e. merged and resolved) node type representation of the specified node's primary and mixin node types.

Parameters:
nodeState -
Returns:
Throws:
NoSuchNodeTypeException
ConstraintViolationException


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