docs: public ComponentDto create(DbSession dbSession, NewComponent newComponent, @Nullable Integer userId) {
      ComponentDto componentDto = createWithoutCommit(dbSession, newComponent, userId);
      commitAndIndex(dbSession, componentDto);
      return componentDto;
    }