DS-4166 community feedback: rename BrowsableObject to IndexableObject

This commit is contained in:
Andrea Bollini
2019-03-27 20:31:22 +01:00
parent e883c95de8
commit 4b85bf4c56
48 changed files with 211 additions and 205 deletions

View File

@@ -10,7 +10,7 @@ package org.dspace.discovery;
import java.util.List;
import org.apache.solr.common.SolrInputDocument;
import org.dspace.browse.BrowsableObject;
import org.dspace.browse.IndexableObject;
import org.dspace.content.Item;
import org.dspace.content.MetadataValue;
import org.dspace.content.service.ItemService;
@@ -30,7 +30,7 @@ public class SolrServiceSpellIndexingPlugin implements SolrServiceIndexPlugin {
protected ItemService itemService;
@Override
public void additionalIndex(Context context, BrowsableObject dso, SolrInputDocument document) {
public void additionalIndex(Context context, IndexableObject dso, SolrInputDocument document) {
if (dso instanceof Item) {
Item item = (Item) dso;
List<MetadataValue> dcValues = itemService.getMetadata(item, Item.ANY, Item.ANY, Item.ANY, Item.ANY);