NIHVIVO-2317 NIHVIVO-2318 removing vitro namespace properties from editing and various Java classes and interfaces

This commit is contained in:
brianjlowe 2011-07-05 19:14:16 +00:00
parent 9c469cef6b
commit 6e4fcedb6c
87 changed files with 178 additions and 3918 deletions

View file

@ -47,7 +47,7 @@ public class PropertyRestrictionPolicyHelperTest extends AbstractTestClass {
VitroVocabulary.vitroURI, "" };
private static final String[] PERMITTED_EXCEPTIONS = new String[] {
VitroVocabulary.MONIKER, VitroVocabulary.BLURB };
VitroVocabulary.MONIKER };
private OntModel ontModel;
private ModelWrapper wrapper;

View file

@ -170,7 +170,6 @@ public class HiddenFromDisplayBelowRoleLevelFilterTest extends
private static Individual individual(String moniker,
RoleLevel displayThreshhold) {
Individual i = new IndividualImpl();
i.setMoniker(moniker);
i.setURI("uri:" + moniker);
i.setHiddenFromDisplayBelowRoleLevel(displayThreshhold);
return i;
@ -575,7 +574,7 @@ public class HiddenFromDisplayBelowRoleLevelFilterTest extends
if (individual == null) {
message += ", individual=null";
} else {
message += ", individual=" + individual.getMoniker();
message += ", individual=" + individual.getLocalName();
}
return message;
}
@ -703,7 +702,7 @@ public class HiddenFromDisplayBelowRoleLevelFilterTest extends
if (subject == null) {
message += ", subject=null";
} else {
message += ", subject=" + subject.getMoniker();
message += ", subject=" + subject.getLocalName();
}
if (predicate == null) {
@ -760,7 +759,7 @@ public class HiddenFromDisplayBelowRoleLevelFilterTest extends
if (subject == null) {
message += ", subject=null";
} else {
message += ", subject=" + subject.getMoniker();
message += ", subject=" + subject.getLocalName();
}
if (predicate == null) {
@ -772,7 +771,7 @@ public class HiddenFromDisplayBelowRoleLevelFilterTest extends
if (object == null) {
message += ", object=null";
} else {
message += ", object=" + object.getMoniker();
message += ", object=" + object.getLocalName();
}
return message;

View file

@ -169,63 +169,12 @@ public class IndividualDaoStub implements IndividualDao {
"IndividualDaoStub.fillVClassForIndividual() not implemented.");
}
@Override
public List<String> monikers(String vclassURI) {
throw new RuntimeException(
"IndividualDaoStub.monikers() not implemented.");
}
@Override
public List<String> getKeywordsForIndividual(String individualURI) {
throw new RuntimeException(
"IndividualDaoStub.getKeywordsForIndividual() not implemented.");
}
@Override
public List<String> getKeywordsForIndividualByMode(String individualURI,
String modeStr) {
throw new RuntimeException(
"IndividualDaoStub.getKeywordsForIndividualByMode() not implemented.");
}
@Override
public List<Keyword> getKeywordObjectsForIndividual(String individualURI) {
throw new RuntimeException(
"IndividualDaoStub.getKeywordObjectsForIndividual() not implemented.");
}
@Override
public String getNetId(String entityURI) {
throw new RuntimeException(
"IndividualDaoStub.getNetId() not implemented.");
}
@Override
public String getStatus(String entityURI) {
throw new RuntimeException(
"IndividualDaoStub.getStatus() not implemented.");
}
@Override
public String getUnusedURI(Individual individual) throws InsertException {
throw new RuntimeException(
"IndividualDaoStub.getUnusedURI() not implemented.");
}
@Override
public Individual getIndividualByExternalId(int externalIdType,
String externalIdValue) {
throw new RuntimeException(
"IndividualDaoStub.getIndividualByExternalId() not implemented.");
}
@Override
public Individual getIndividualByExternalId(int externalIdType,
String externalIdValue, String vClassURI) {
throw new RuntimeException(
"IndividualDaoStub.getIndividualByExternalId() not implemented.");
}
@Override
public EditLiteral getLabelEditLiteral(String individualUri) {
throw new RuntimeException(

View file

@ -13,10 +13,6 @@ import edu.cornell.mannlib.vitro.webapp.dao.DataPropertyStatementDao;
import edu.cornell.mannlib.vitro.webapp.dao.DatatypeDao;
import edu.cornell.mannlib.vitro.webapp.dao.DisplayModelDao;
import edu.cornell.mannlib.vitro.webapp.dao.IndividualDao;
import edu.cornell.mannlib.vitro.webapp.dao.KeywordDao;
import edu.cornell.mannlib.vitro.webapp.dao.KeywordIndividualRelationDao;
import edu.cornell.mannlib.vitro.webapp.dao.LinksDao;
import edu.cornell.mannlib.vitro.webapp.dao.LinktypeDao;
import edu.cornell.mannlib.vitro.webapp.dao.MenuDao;
import edu.cornell.mannlib.vitro.webapp.dao.NamespaceDao;
import edu.cornell.mannlib.vitro.webapp.dao.ObjectPropertyDao;
@ -198,30 +194,6 @@ public class WebappDaoFactoryStub implements WebappDaoFactory {
"WebappDaoFactory.getApplicationDao() not implemented.");
}
@Override
public KeywordIndividualRelationDao getKeys2EntsDao() {
throw new RuntimeException(
"WebappDaoFactory.getKeys2EntsDao() not implemented.");
}
@Override
public KeywordDao getKeywordDao() {
throw new RuntimeException(
"WebappDaoFactory.getKeywordDao() not implemented.");
}
@Override
public LinksDao getLinksDao() {
throw new RuntimeException(
"WebappDaoFactory.getLinksDao() not implemented.");
}
@Override
public LinktypeDao getLinktypeDao() {
throw new RuntimeException(
"WebappDaoFactory.getLinktypeDao() not implemented.");
}
@Override
public VClassGroupDao getVClassGroupDao() {
throw new RuntimeException(