class SimpleCatalogManager implements CatalogManager {

    @Override
    public Set<Version> getVersions(Resource catalogId, Resource versionedRecordId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            VersionedRecord record = utils.getRecord(catalogId, versionedRecordId, versionedRecordFactory, conn);
            return record.getVersion_resource().stream()
                    .map(resource -> utils.getExpectedObject(resource, versionFactory, conn))
                    .collect(Collectors.toSet());
        }
    }

    public  SimpleCatalogManager();

}