Class SyncTimestapsForCatalogVersionRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.catalog.interceptors.SyncTimestapsForCatalogVersionRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
public class SyncTimestapsForCatalogVersionRemoveInterceptor extends java.lang.Object implements RemoveInterceptor
Removes suchItemSyncTimestampModels for which currently removedCatalogVersionModelis eitherItemSyncTimestampModel.SOURCEVERSIONorItemSyncTimestampModel.TARGETVERSION.
-
-
Constructor Summary
Constructors Constructor Description SyncTimestapsForCatalogVersionRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRemove(java.lang.Object model, InterceptorContext ctx)Called in themodelService.removeAll()method.voidsetItemSyncTimestampDao(ItemSyncTimestampDao itemSyncTimestampDao)voidsetLimit(java.lang.Integer limit)
-
-
-
Method Detail
-
onRemove
public void onRemove(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
setItemSyncTimestampDao
public void setItemSyncTimestampDao(ItemSyncTimestampDao itemSyncTimestampDao)
-
setLimit
public void setLimit(java.lang.Integer limit)
-
-