diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/DataPropertyHierarchyListingController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/DataPropertyHierarchyListingController.java index a12eba56d..684f9dca6 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/DataPropertyHierarchyListingController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/DataPropertyHierarchyListingController.java @@ -60,10 +60,10 @@ public class DataPropertyHierarchyListingController extends BaseEditController { e.printStackTrace(); } - dpDao = vrequest.getFullWebappDaoFactory().getDataPropertyDao(); - vcDao = vrequest.getFullWebappDaoFactory().getVClassDao(); - pgDao = vrequest.getFullWebappDaoFactory().getPropertyGroupDao(); - dDao = vrequest.getFullWebappDaoFactory().getDatatypeDao(); + dpDao = vrequest.getAssertionsWebappDaoFactory().getDataPropertyDao(); + vcDao = vrequest.getAssertionsWebappDaoFactory().getVClassDao(); + pgDao = vrequest.getAssertionsWebappDaoFactory().getPropertyGroupDao(); + dDao = vrequest.getAssertionsWebappDaoFactory().getDatatypeDao(); ArrayList results = new ArrayList(); results.add("XX"); // column 1 diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/ObjectPropertyHierarchyListingController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/ObjectPropertyHierarchyListingController.java index abf8c4dc4..990ab505c 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/ObjectPropertyHierarchyListingController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/edit/listing/ObjectPropertyHierarchyListingController.java @@ -59,9 +59,9 @@ public class ObjectPropertyHierarchyListingController extends BaseEditController e.printStackTrace(); } - opDao = vrequest.getFullWebappDaoFactory().getObjectPropertyDao(); - vcDao = vrequest.getFullWebappDaoFactory().getVClassDao(); - pgDao = vrequest.getFullWebappDaoFactory().getPropertyGroupDao(); + opDao = vrequest.getAssertionsWebappDaoFactory().getObjectPropertyDao(); + vcDao = vrequest.getAssertionsWebappDaoFactory().getVClassDao(); + pgDao = vrequest.getAssertionsWebappDaoFactory().getPropertyGroupDao(); ArrayList results = new ArrayList(); results.add("XX"); // column 1