class SimpleCatalogManager implements CatalogManager {

    @Override
    public Optional<InProgressCommit> getInProgressCommit(Resource catalogId, Resource versionedRDFRecordId,
                                                          User user) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            utils.validateRecord(catalogId, versionedRDFRecordId, versionedRDFRecordFactory.getTypeIRI(), conn);
            return utils.getInProgressCommitIRI(versionedRDFRecordId, user.getResource(), conn).flatMap(resource ->
                    Optional.of(utils.getExpectedObject(resource, inProgressCommitFactory, conn)));
        }
    }

    public  SimpleCatalogManager();

}