From 3400b3357616ec1775c31c4893c191af83ed404a Mon Sep 17 00:00:00 2001 From: brianjlowe Date: Mon, 18 Jul 2011 15:02:55 +0000 Subject: [PATCH] modified QR code code to use normal WebappDaoFactory --- .../web/templatemodels/individual/IndividualTemplateModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java b/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java index 7e143615..c2017aca 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java +++ b/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/IndividualTemplateModel.java @@ -42,7 +42,7 @@ public class IndividualTemplateModel extends BaseIndividualTemplateModel { private Map generateQrData() { Map qrData = new HashMap(); - WebappDaoFactory wdf = vreq.getAssertionsWebappDaoFactory(); + WebappDaoFactory wdf = vreq.getWebappDaoFactory(); Collection firstNames = wdf.getDataPropertyStatementDao().getDataPropertyStatementsForIndividualByDataPropertyURI(individual, FOAF + "firstName"); Collection lastNames = wdf.getDataPropertyStatementDao().getDataPropertyStatementsForIndividualByDataPropertyURI(individual, FOAF + "lastName"); Collection preferredTitles = wdf.getDataPropertyStatementDao().getDataPropertyStatementsForIndividualByDataPropertyURI(individual, CORE + "preferredTitle");