public class CronJobSolrIndexSynchronizationStrategy extends java.lang.Object implements SolrIndexSynchronizationStrategy
| Modifier and Type | Field and Description |
|---|---|
protected ModelService |
modelService |
| Constructor and Description |
|---|
CronJobSolrIndexSynchronizationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addModifiedItem(java.lang.String typecode,
long pk,
SolrItemModificationType modificationType) |
void |
removeItem(java.lang.String typecode,
long pk)
Remove item from solr index
|
void |
setModelService(ModelService modelService) |
protected boolean |
shouldUpdateModifiedItem() |
void |
updateItem(java.lang.String typecode,
long pk)
Update item in solr index
|
protected ModelService modelService
public CronJobSolrIndexSynchronizationStrategy()
public void updateItem(java.lang.String typecode,
long pk)
SolrIndexSynchronizationStrategyupdateItem in interface SolrIndexSynchronizationStrategytypecode - item typecodepk - item pkpublic void removeItem(java.lang.String typecode,
long pk)
SolrIndexSynchronizationStrategyremoveItem in interface SolrIndexSynchronizationStrategytypecode - item typecodepk - item pkprotected void addModifiedItem(java.lang.String typecode,
long pk,
SolrItemModificationType modificationType)
protected boolean shouldUpdateModifiedItem()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.