Class AsConfigurationPartOfCleanupInterceptor
- java.lang.Object
-
- de.hybris.platform.adaptivesearch.model.interceptors.AbstractAsInterceptor
-
- de.hybris.platform.adaptivesearch.model.interceptors.AsConfigurationPartOfCleanupInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<AbstractAsConfigurationModel>
@Deprecated(since="1905") public class AsConfigurationPartOfCleanupInterceptor extends AbstractAsInterceptor implements PrepareInterceptor<AbstractAsConfigurationModel>
Deprecated.Since 1905, no longer required.
-
-
Constructor Summary
Constructors Constructor Description AsConfigurationPartOfCleanupInterceptor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Collection<ItemModel>collectItemsToRemove(java.lang.Object originalValue, java.lang.Object currentValue)Deprecated.protected java.lang.ObjectgetAttributeValue(AbstractAsConfigurationModel configuration, java.lang.String attribute)Deprecated.protected java.lang.ObjectgetAttributeValue(AbstractAsConfigurationModel configuration, java.lang.String attribute, java.util.Locale locale)Deprecated.protected java.lang.ObjectgetOriginalValue(AbstractAsConfigurationModel configuration, java.lang.String attribute)Deprecated.protected java.lang.ObjectgetOriginalValue(AbstractAsConfigurationModel configuration, java.lang.String attribute, java.util.Locale locale)Deprecated.TypeServicegetTypeService()Deprecated.protected java.util.Set<java.lang.String>getWritablePartOfAttributes(AbstractAsConfigurationModel configuration, InterceptorContext context)Deprecated.voidonPrepare(AbstractAsConfigurationModel configuration, InterceptorContext context)Deprecated.Called in themodelService.saveAll()method.protected voidprocessPartOfAttribute(AbstractAsConfigurationModel configuration, java.lang.String partOfAttribute, InterceptorContext context)Deprecated.protected voidremoveItems(AbstractAsConfigurationModel configuration, java.lang.Object currentValue, java.lang.Object originalValue, InterceptorContext context)Deprecated.voidsetTypeService(TypeService typeService)Deprecated.protected booleanshouldProcessConfiguration(AbstractAsConfigurationModel configuration, InterceptorContext context)Deprecated.-
Methods inherited from class de.hybris.platform.adaptivesearch.model.interceptors.AbstractAsInterceptor
decorateIdentifier, generateItemIdentifier, generateUid, getAsItemModelHelper, getAsSearchProviderFactory, getAsUidGenerator, getModelService, getNewPkForNotSavedItem, markItemAsModified, resolveAndValidateSearchConfiguration, resolveAndValidateSearchProfile, resolveSearchConfiguration, resolveSearchProfile, resolveSearchProvider, setAsItemModelHelper, setAsSearchProviderFactory, setAsUidGenerator, setModelService
-
-
-
-
Method Detail
-
onPrepare
public void onPrepare(AbstractAsConfigurationModel configuration, InterceptorContext context)
Deprecated.Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<AbstractAsConfigurationModel>- Parameters:
configuration- the model which values has to be preparedcontext- theInterceptorContext
-
shouldProcessConfiguration
protected boolean shouldProcessConfiguration(AbstractAsConfigurationModel configuration, InterceptorContext context)
Deprecated.
-
getWritablePartOfAttributes
protected java.util.Set<java.lang.String> getWritablePartOfAttributes(AbstractAsConfigurationModel configuration, InterceptorContext context)
Deprecated.
-
processPartOfAttribute
protected void processPartOfAttribute(AbstractAsConfigurationModel configuration, java.lang.String partOfAttribute, InterceptorContext context)
Deprecated.
-
removeItems
protected void removeItems(AbstractAsConfigurationModel configuration, java.lang.Object currentValue, java.lang.Object originalValue, InterceptorContext context)
Deprecated.
-
collectItemsToRemove
protected java.util.Collection<ItemModel> collectItemsToRemove(java.lang.Object originalValue, java.lang.Object currentValue)
Deprecated.
-
getOriginalValue
protected java.lang.Object getOriginalValue(AbstractAsConfigurationModel configuration, java.lang.String attribute)
Deprecated.
-
getOriginalValue
protected java.lang.Object getOriginalValue(AbstractAsConfigurationModel configuration, java.lang.String attribute, java.util.Locale locale)
Deprecated.
-
getAttributeValue
protected java.lang.Object getAttributeValue(AbstractAsConfigurationModel configuration, java.lang.String attribute)
Deprecated.
-
getAttributeValue
protected java.lang.Object getAttributeValue(AbstractAsConfigurationModel configuration, java.lang.String attribute, java.util.Locale locale)
Deprecated.
-
getTypeService
public TypeService getTypeService()
Deprecated.
-
setTypeService
public void setTypeService(TypeService typeService)
Deprecated.
-
-