class SimpleCatalogManager implements CatalogManager {

    @Override
    public Set<Distribution> getUnversionedDistributions(Resource catalogId, Resource unversionedRecordId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            UnversionedRecord record = utils.getRecord(catalogId, unversionedRecordId, unversionedRecordFactory, conn);
            return record.getUnversionedDistribution_resource().stream()
                    .map(resource -> utils.getExpectedObject(resource, distributionFactory, conn))
                    .collect(Collectors.toSet());
        }
    }

    public  SimpleCatalogManager();

}