dataInfo.setPopularity(popularity + 1);
}
});
// And register the metadata to be indexed in the near future
final IndexingList list = srvContext.getBean(IndexingList.class);
list.add(iId);
} else {
if (Log.isDebugEnabled(Geonet.DATA_MANAGER)) {
Log.debug(Geonet.DATA_MANAGER, "GeoNetwork is operating in read-only mode. IncreasePopularity is skipped.");
}
}