class SimpleCatalogManager implements CatalogManager {

    @Override
    public Commit getHeadCommit(Resource catalogId, Resource versionedRDFRecordId, Resource branchId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            utils.validateBranch(catalogId, versionedRDFRecordId, branchId, conn);
            Branch branch = utils.getExpectedObject(branchId, branchFactory, conn);
            Resource head = utils.getHeadCommitIRI(branch);
            return utils.getExpectedObject(head, commitFactory, conn);
        }
    }

    public  SimpleCatalogManager();

}