class SimpleCatalogManager implements CatalogManager {

    @Override
    public void updateHead(Resource catalogId, Resource versionedRDFRecordId, Resource branchId, Resource commitId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            Branch branch = utils.getBranch(catalogId, versionedRDFRecordId, branchId, branchFactory, conn);
            conn.begin();
            utils.validateResource(commitId, commitFactory.getTypeIRI(), conn);
            branch.setHead(commitFactory.createNew(commitId));
            utils.updateObject(branch, conn);
            conn.commit();
        }
    }

    public  SimpleCatalogManager();

}