class SimpleCatalogManager implements CatalogManager {

    @Override
    public Set<Distribution> getVersionedDistributions(Resource catalogId, Resource versionedRecordId,
                                                       Resource versionId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            Version version = utils.getVersion(catalogId, versionedRecordId, versionId, versionFactory, conn);
            return version.getVersionedDistribution_resource().stream()
                    .map(resource -> utils.getExpectedObject(resource, distributionFactory, conn))
                    .collect(Collectors.toSet());
        }
    }

    public  SimpleCatalogManager();

}