code: public void addNodeType(NodeTypeData nodeType) throws RepositoryException
     {
        if (!started)
        {
           LOG.warn("Unable save nodetype " + nodeType.getName().getAsString()
              + " in to the storage. Storage not initialized");
           return;
        }
  
        PlainChangesLog changesLog = new PlainChangesLogImpl();
        definitionAccessProvider.write(changesLog, nodeTypeStorageRoot, nodeType);
        dataManager.save(new TransactionChangesLog(changesLog));
     }
docs: {@inheritDoc}