code: @Override
      public void unregisterNodeType( String nodeTypeName )
          throws NoSuchNodeTypeException, InvalidNodeTypeDefinitionException, RepositoryException {
          unregisterNodeTypes(Collections.singleton(nodeTypeName));
      }
docs: Unregisters the named node type if it is not referenced by other node types as a supertype, a default primary type of a
  child node (or nodes), or a required primary type of a child node (or nodes).
  
  @param nodeTypeName
  @throws NoSuchNodeTypeException if node type name does not correspond to a registered node type
  @throws InvalidNodeTypeDefinitionException if the node type with the given name cannot be unregistered because it is the
  supertype, one of the required primary types, or a default primary type of another node type
  @throws AccessDeniedException if the current session does not have the {@link ModeShapePermissions#REGISTER_TYPE register
  type permission}.
  @throws RepositoryException if any other error occurs