org.apache.jackrabbit.jcr2spi.nodetype
Interface EffectiveNodeType

All Known Implementing Classes:
EffectiveNodeTypeImpl

public interface EffectiveNodeType

EffectiveNodeType...


Method Summary
 void checkAddNodeConstraints(Name name, ItemDefinitionProvider definitionProvider)
           
 void checkAddNodeConstraints(Name name, Name nodeTypeName, ItemDefinitionProvider definitionProvider)
           
 void checkRemoveItemConstraints(Name name)
           
 Name[] getAllNodeTypes()
           
 QNodeDefinition[] getAllQNodeDefinitions()
           
 QPropertyDefinition[] getAllQPropertyDefinitions()
           
 QNodeDefinition[] getAutoCreateQNodeDefinitions()
           
 QPropertyDefinition[] getAutoCreateQPropertyDefinitions()
           
 Name[] getInheritedNodeTypes()
           
 QNodeDefinition[] getMandatoryQNodeDefinitions()
           
 QPropertyDefinition[] getMandatoryQPropertyDefinitions()
           
 Name[] getMergedNodeTypes()
           
 QNodeDefinition[] getNamedQNodeDefinitions(Name name)
           
 QPropertyDefinition[] getNamedQPropertyDefinitions(Name name)
           
 QNodeDefinition[] getUnnamedQNodeDefinitions()
           
 QPropertyDefinition[] getUnnamedQPropertyDefinitions()
           
 boolean includesNodeType(Name nodeTypeName)
          Determines whether this effective node type representation includes (either through inheritance or aggregation) the given node type.
 boolean includesNodeTypes(Name[] nodeTypeNames)
          Determines whether this effective node type representation includes (either through inheritance or aggregation) all of the given node types.
 

Method Detail

getAllNodeTypes

Name[] getAllNodeTypes()

getInheritedNodeTypes

Name[] getInheritedNodeTypes()

getMergedNodeTypes

Name[] getMergedNodeTypes()

includesNodeType

boolean includesNodeType(Name nodeTypeName)
Determines whether this effective node type representation includes (either through inheritance or aggregation) the given node type.

Parameters:
nodeTypeName - name of node type
Returns:
true if the given node type is included, otherwise false

includesNodeTypes

boolean includesNodeTypes(Name[] nodeTypeNames)
Determines whether this effective node type representation includes (either through inheritance or aggregation) all of the given node types.

Parameters:
nodeTypeNames - array of node type names
Returns:
true if all of the given node types are included, otherwise false

getAllQNodeDefinitions

QNodeDefinition[] getAllQNodeDefinitions()

getAllQPropertyDefinitions

QPropertyDefinition[] getAllQPropertyDefinitions()

getAutoCreateQNodeDefinitions

QNodeDefinition[] getAutoCreateQNodeDefinitions()

getAutoCreateQPropertyDefinitions

QPropertyDefinition[] getAutoCreateQPropertyDefinitions()

getMandatoryQNodeDefinitions

QNodeDefinition[] getMandatoryQNodeDefinitions()

getMandatoryQPropertyDefinitions

QPropertyDefinition[] getMandatoryQPropertyDefinitions()

getNamedQNodeDefinitions

QNodeDefinition[] getNamedQNodeDefinitions(Name name)

getNamedQPropertyDefinitions

QPropertyDefinition[] getNamedQPropertyDefinitions(Name name)

getUnnamedQNodeDefinitions

QNodeDefinition[] getUnnamedQNodeDefinitions()

getUnnamedQPropertyDefinitions

QPropertyDefinition[] getUnnamedQPropertyDefinitions()

checkAddNodeConstraints

void checkAddNodeConstraints(Name name,
                             ItemDefinitionProvider definitionProvider)
                             throws ConstraintViolationException
Parameters:
name -
definitionProvider -
Throws:
ConstraintViolationException

checkAddNodeConstraints

void checkAddNodeConstraints(Name name,
                             Name nodeTypeName,
                             ItemDefinitionProvider definitionProvider)
                             throws ConstraintViolationException,
                                    NoSuchNodeTypeException
Parameters:
name -
nodeTypeName -
definitionProvider -
Throws:
ConstraintViolationException
NoSuchNodeTypeException

checkRemoveItemConstraints

void checkRemoveItemConstraints(Name name)
                                throws ConstraintViolationException
Parameters:
name -
Throws:
ConstraintViolationException


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