Interface EffectiveNodeTypeProvider
-
- All Known Implementing Classes:
NodeTypeRegistryImpl
public interface EffectiveNodeTypeProviderEffectiveNodeTypeProvider...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EffectiveNodeTypegetEffectiveNodeType(org.apache.jackrabbit.spi.Name ntName)Build theEffectiveNodeTypefrom the givenNodeTypename.EffectiveNodeTypegetEffectiveNodeType(org.apache.jackrabbit.spi.Name[] ntNames)Build theEffectiveNodeTypefrom the given array ofNodeTypenames.EffectiveNodeTypegetEffectiveNodeType(org.apache.jackrabbit.spi.Name[] ntNames, Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QNodeTypeDefinition> ntdMap)EffectiveNodeTypegetEffectiveNodeType(org.apache.jackrabbit.spi.QNodeTypeDefinition ntd, Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QNodeTypeDefinition> ntdMap)Builds an effective node type representation from the given node type definition.
-
-
-
Method Detail
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(org.apache.jackrabbit.spi.Name ntName) throws NoSuchNodeTypeException
Build theEffectiveNodeTypefrom the givenNodeTypename.- Parameters:
ntName-- Returns:
- Throws:
NoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(org.apache.jackrabbit.spi.Name[] ntNames) throws ConstraintViolationException, NoSuchNodeTypeException
Build theEffectiveNodeTypefrom the given array ofNodeTypenames.- Parameters:
ntNames-- Returns:
- Throws:
ConstraintViolationExceptionNoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(org.apache.jackrabbit.spi.Name[] ntNames, Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QNodeTypeDefinition> ntdMap) throws ConstraintViolationException, NoSuchNodeTypeException
- Parameters:
ntNames-ntdMap-- Returns:
- Throws:
ConstraintViolationExceptionNoSuchNodeTypeException
-
getEffectiveNodeType
EffectiveNodeType getEffectiveNodeType(org.apache.jackrabbit.spi.QNodeTypeDefinition ntd, Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QNodeTypeDefinition> 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:
ConstraintViolationExceptionNoSuchNodeTypeException
-
-