VIVO-946 remove vestigial method: ObjectPropertyDao.getStatementsUsingObjectProperty()

This commit is contained in:
Jim Blake 2015-03-02 11:34:48 -05:00
parent 31eb5d73f4
commit ecbda5be7b
4 changed files with 0 additions and 22 deletions

View file

@ -6,8 +6,6 @@ import java.util.List;
import edu.cornell.mannlib.vitro.webapp.beans.Individual;
import edu.cornell.mannlib.vitro.webapp.beans.ObjectProperty;
import edu.cornell.mannlib.vitro.webapp.beans.ObjectPropertyStatement;
import edu.cornell.mannlib.vitro.webapp.beans.VClass;
public interface ObjectPropertyDao extends PropertyDao {
@ -35,8 +33,6 @@ public interface ObjectPropertyDao extends PropertyDao {
public List<String> getSubPropertyURIs(String objectPropertyURI);
public List<ObjectPropertyStatement> getStatementsUsingObjectProperty(ObjectProperty op);
public void fillObjectPropertiesForIndividual(Individual individual);
public int insertObjectProperty(ObjectProperty objectProperty ) throws InsertException;

View file

@ -2,17 +2,14 @@
package edu.cornell.mannlib.vitro.webapp.dao.filtering;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import net.sf.jga.algorithms.Filter;
import net.sf.jga.fn.UnaryFunctor;
import net.sf.jga.fn.adaptor.AndUnary;
import edu.cornell.mannlib.vitro.webapp.beans.DataProperty;
import edu.cornell.mannlib.vitro.webapp.beans.Individual;
import edu.cornell.mannlib.vitro.webapp.beans.ObjectProperty;
import edu.cornell.mannlib.vitro.webapp.beans.ObjectPropertyStatement;
import edu.cornell.mannlib.vitro.webapp.beans.Property;
import edu.cornell.mannlib.vitro.webapp.beans.VClass;
import edu.cornell.mannlib.vitro.webapp.dao.InsertException;
@ -59,10 +56,6 @@ class ObjectPropertyDaoFiltering extends BaseFiltering implements ObjectProperty
return (newOprop == null) ? null : new ObjectPropertyFiltering(newOprop, filters);
}
public List<ObjectPropertyStatement> getStatementsUsingObjectProperty(ObjectProperty op) {
return ObjectPropertyStatementDaoFiltering.filterAndWrapList(innerObjectPropertyDao.getStatementsUsingObjectProperty(op),filters);
}
public List getRootObjectProperties() {
return filterAndWrap(innerObjectPropertyDao.getRootObjectProperties(),filters);
}

View file

@ -933,10 +933,6 @@ public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectProp
return subURIs;
}
public List<ObjectPropertyStatement> getStatementsUsingObjectProperty(ObjectProperty op) {
return null;
}
// checks for annotation property vitro:skipEditForm.
// Used by N3 editing system to govern behavior of edit link:
// if annotation is present, editing system redirects to display

View file

@ -221,13 +221,6 @@ public class ObjectPropertyDaoStub implements ObjectPropertyDao {
"ObjectPropertyDaoStub.getSubPropertyURIs() not implemented.");
}
@Override
public List<ObjectPropertyStatement> getStatementsUsingObjectProperty(
ObjectProperty op) {
throw new RuntimeException(
"ObjectPropertyDaoStub.getStatementsUsingObjectProperty() not implemented.");
}
@Override
public void fillObjectPropertiesForIndividual(Individual individual) {
throw new RuntimeException(