Class ObjectFacadeSearchservicesIndexingAspect
java.lang.Object
com.hybris.backoffice.search.aspects.AbstractObjectFacadeSearchIndexingAspect
com.hybris.backoffice.searchservices.aspects.ObjectFacadeSearchservicesIndexingAspect
public class ObjectFacadeSearchservicesIndexingAspect
extends AbstractObjectFacadeSearchIndexingAspect
Contains logic of aspect responsible for updating searchservices index.
Shall be called when Backoffice
Shall be called when Backoffice
ObjectFacade performs changes
on ItemModel. This class uses underlying SearchservicesIndexSynchronizationStrategy to perform
operations on searchservices index.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDetermines if searchservices indexing triggered for every indexed model change will be performed in non blocking operation - default: false -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidprotected voidremoveIndexByPk(String typecode, List<PK> pkList) voidsetSearchservicesIndexSynchronizationStrategy(SearchservicesIndexSynchronizationStrategy searchservicesIndexSynchronizationStrategy) protected voidupdateIndexByPk(String typecode, List<PK> pkList) Methods inherited from class com.hybris.backoffice.search.aspects.AbstractObjectFacadeSearchIndexingAspect
executeIndexer, extractModels, extractModelsWithoutArgs, findBackgroundThread, getConfigurationService, getCurrentDateMinusOneMinute, getItemModificationHistoryService, getLastModifiedProductsPK, getLastSavedValuesForProducts, getModelService, getModifiedProductsPK, setConfigurationService, setItemModificationHistoryService, setModelService, updateChanged, updateRemoved, updateRemovedForMethodParameter
-
Field Details
-
CONFIG_BACKOFFICE_SEARCH_BACKGROUND_SEARCHSERVICES_INDEXING_ENABLED
Determines if searchservices indexing triggered for every indexed model change will be performed in non blocking operation - default: false- See Also:
-
-
Constructor Details
-
ObjectFacadeSearchservicesIndexingAspect
public ObjectFacadeSearchservicesIndexingAspect()
-
-
Method Details
-
isBackgroundIndexingEnabled
protected boolean isBackgroundIndexingEnabled()- Overrides:
isBackgroundIndexingEnabledin classAbstractObjectFacadeSearchIndexingAspect
-
removeIndexByPk
- Specified by:
removeIndexByPkin classAbstractObjectFacadeSearchIndexingAspect
-
updateIndexByPk
- Specified by:
updateIndexByPkin classAbstractObjectFacadeSearchIndexingAspect
-
logDebug
- Specified by:
logDebugin classAbstractObjectFacadeSearchIndexingAspect
-
setSearchservicesIndexSynchronizationStrategy
public void setSearchservicesIndexSynchronizationStrategy(SearchservicesIndexSynchronizationStrategy searchservicesIndexSynchronizationStrategy)
-