docs: public void deleteNonRootComponentsInView(DbSession dbSession, Collection<ComponentDto> components) {
      Set<ComponentDto> nonRootComponents = components.stream().filter(PurgeDao::isNotRoot).collect(MoreCollectors.toSet());
      if (nonRootComponents.isEmpty()) {
        return;
      }
  
      PurgeProfiler profiler = new PurgeProfiler();
      PurgeCommands purgeCommands = new PurgeCommands(dbSession, profiler);
      deleteNonRootComponentsInView(nonRootComponents, purgeCommands);
    }