code: public void removeNodeType(NodeTypeData nodeType) throws RepositoryException
     {
        if (!validatate())
        {
           return;
        }
  
        validatate();
        NodeData nodeTypeData =
           (NodeData)dataManager.getItemData(nodeTypeStorageRoot, new QPathEntry(nodeType.getName(), 1), ItemType.NODE);
        ItemDataRemoveVisitor removeVisitor = new ItemDataRemoveVisitor(dataManager, nodeTypeStorageRoot.getQPath());
        nodeTypeData.accept(removeVisitor);
  
        PlainChangesLog changesLog = new PlainChangesLogImpl();
        changesLog.addAll(removeVisitor.getRemovedStates());
        dataManager.save(new TransactionChangesLog(changesLog));
     }
docs: {@inheritDoc}