@Test @FixFor( "MODE-1807" ) public void shouldAllowOverridingChildDefinitionWithSubtypeOfOriginalDefinition() throws Exception { InputStream cndStream = getClass().getResourceAsStream("/cnd/orc.cnd"); assertThat(cndStream, is(notNullValue())); nodeTypeManager().registerNodeTypes(cndStream, true); }
List<JcrNodeType> registerNodeTypes( Iterable<NodeTypeDefinition> nodeTypeDefns ) throws InvalidNodeTypeDefinitionException, NodeTypeExistsException, RepositoryException { return registerNodeTypes(nodeTypeDefns, true, false, true); }
RepositoryNodeTypeManager implements ChangeSetListener, NodeTypes.Supplier { List<JcrNodeType> registerNodeTypes( Iterable<NodeTypeDefinition> nodeTypeDefns ) throws InvalidNodeTypeDefinitionException, NodeTypeExistsException, RepositoryException { return registerNodeTypes(nodeTypeDefns, true, false, true); } }
RepositoryNodeTypeManager implements ChangeSetListener, NodeTypes.Supplier { List<JcrNodeType> registerNodeTypes( Iterable<NodeTypeDefinition> nodeTypeDefns ) throws InvalidNodeTypeDefinitionException, NodeTypeExistsException, RepositoryException { return registerNodeTypes(nodeTypeDefns, true, false, true); } RepositoryNodeTypeManager( JcrRepository.RunningState repository,
                               boolean includeColumnsForInheritedProperties,
                               boolean includePseudoColumnsInSelectStar ); }
RepositoryNodeTypeManager implements ChangeSetListener, NodeTypes.Supplier { List<JcrNodeType> registerNodeTypes( Iterable<NodeTypeDefinition> nodeTypeDefns ) throws InvalidNodeTypeDefinitionException, NodeTypeExistsException, RepositoryException { return registerNodeTypes(nodeTypeDefns, true, false, true); } RepositoryNodeTypeManager( JcrRepository.RunningState repository,
                               boolean includeColumnsForInheritedProperties,
                               boolean includePseudoColumnsInSelectStar ); @Override NodeTypes getNodeTypes(); @Override void notify( ChangeSet changeSet ); @Override String toString(); }
RepositoryNodeTypeManager implements ChangeSetListener, NodeTypes.Supplier { List<JcrNodeType> registerNodeTypes( Iterable<NodeTypeDefinition> nodeTypeDefns ) throws InvalidNodeTypeDefinitionException, NodeTypeExistsException, RepositoryException { return registerNodeTypes(nodeTypeDefns, true, false, true); } RepositoryNodeTypeManager( JcrRepository.RunningState repository,
                               boolean includeColumnsForInheritedProperties,
                               boolean includePseudoColumnsInSelectStar ); @Override NodeTypes getNodeTypes(); @Override void notify( ChangeSet changeSet ); @Override String toString();  }