updates to remove debugging statements, etc.
This commit is contained in:
parent
6ea7d9ef37
commit
4b52ccd687
5 changed files with 8 additions and 7 deletions
|
@ -323,7 +323,8 @@ public class AddAssociatedConceptGenerator extends VivoBaseGenerator implements
|
|||
|
||||
private void addPreprocessors(EditConfigurationVTwo editConfiguration, WebappDaoFactory wadf) {
|
||||
//An Edit submission preprocessor for enabling addition of multiple terms for a single search
|
||||
|
||||
//TODO: Check if this is the appropriate way of getting model
|
||||
|
||||
editConfiguration.addEditSubmissionPreprocessor(
|
||||
new AddAssociatedConceptsPreprocessor(editConfiguration, wadf));
|
||||
|
||||
|
|
|
@ -377,7 +377,9 @@ public class AddAssociatedConceptsPreprocessor extends
|
|||
//Check if system has an individual with this URI
|
||||
//
|
||||
List<Individual> individualsWithLabel = this.wadf.getIndividualDao().getIndividualsByDataProperty(RDFS.label.getURI(), label);
|
||||
//We are only interested in concepts
|
||||
//We are only interested in semantic type objects and this may return multiple elements (perhaps too many?
|
||||
//getting the model requires servlet and context and we don't want to pass that here do we//Return all semantic type objects with this label
|
||||
//this.modelSelector.
|
||||
return null;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue