public interface NodeTypeEventListener
Modifier and Type | Method and Description |
---|---|
void |
externalRegistered(Collection<QNodeTypeDefinition> ntDefs)
Called when one or more node types have been externally registered.
|
void |
externalReregistered(QNodeTypeDefinition ntDef)
Called when a node type has been externally re-registered.
|
void |
externalUnregistered(Collection<Name> ntNames)
Called when one or more node types have been externally unregistered.
|
void externalRegistered(Collection<QNodeTypeDefinition> ntDefs) throws javax.jcr.RepositoryException, InvalidNodeTypeDefException
ntDefs
- node type definitionsjavax.jcr.RepositoryException
- if an error occursInvalidNodeTypeDefException
- if the node type definition is invalidvoid externalReregistered(QNodeTypeDefinition ntDef) throws javax.jcr.nodetype.NoSuchNodeTypeException, InvalidNodeTypeDefException, javax.jcr.RepositoryException
ntDef
- node type definitionjavax.jcr.RepositoryException
- if an error occursjavax.jcr.nodetype.NoSuchNodeTypeException
- if the node type had not yet been registeredInvalidNodeTypeDefException
- if the node type definition is invalidvoid externalUnregistered(Collection<Name> ntNames) throws javax.jcr.RepositoryException, javax.jcr.nodetype.NoSuchNodeTypeException
ntNames
- node type qnamesjavax.jcr.RepositoryException
- if an error occursjavax.jcr.nodetype.NoSuchNodeTypeException
- if a node type is already unregisteredCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.