class SimpleCatalogManager implements CatalogManager {

    private void removeVersionedRecord(Record record, RepositoryConnection conn) {
        versionedRecordFactory.getExisting(record.getResource(), record.getModel())
                .ifPresent(versionedRecord -> {
                    versionedRecord.getVersion_resource()
                            .forEach(resource -> utils.removeVersion(versionedRecord.getResource(), resource, conn));
                    utils.removeObject(versionedRecord, conn);
                });
    }

    public  SimpleCatalogManager();

}