org.apache.jackrabbit.jcr2spi.nodetype
Interface NodeTypeStorage


public interface NodeTypeStorage

NodeTypeStorage...


Method Summary
 Iterator getAllDefinitions()
          Returns an Iterator over all node type definitions registered.
 Iterator getDefinitions(Name[] nodeTypeNames)
          Returns the QNodeTypeDefinitions for the given node type names.
 void registerNodeTypes(QNodeTypeDefinition[] nodeTypeDefs)
           
 void reregisterNodeTypes(QNodeTypeDefinition[] nodeTypeDefs)
           
 void unregisterNodeTypes(Name[] nodeTypeNames)
           
 

Method Detail

getAllDefinitions

Iterator getAllDefinitions()
                           throws RepositoryException
Returns an Iterator over all node type definitions registered.

Returns:
Throws:
RepositoryException

getDefinitions

Iterator getDefinitions(Name[] nodeTypeNames)
                        throws NoSuchNodeTypeException,
                               RepositoryException
Returns the QNodeTypeDefinitions for the given node type names. The implementation is free to return additional definitions e.g. dependencies.

Parameters:
nodeTypeNames -
Returns:
Throws:
NoSuchNodeTypeException
RepositoryException

registerNodeTypes

void registerNodeTypes(QNodeTypeDefinition[] nodeTypeDefs)
                       throws NoSuchNodeTypeException,
                              RepositoryException
Throws:
NoSuchNodeTypeException
RepositoryException

reregisterNodeTypes

void reregisterNodeTypes(QNodeTypeDefinition[] nodeTypeDefs)
                         throws NoSuchNodeTypeException,
                                RepositoryException
Throws:
NoSuchNodeTypeException
RepositoryException

unregisterNodeTypes

void unregisterNodeTypes(Name[] nodeTypeNames)
                         throws NoSuchNodeTypeException,
                                RepositoryException
Throws:
NoSuchNodeTypeException
RepositoryException


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