Interface RemoveInterceptor<MODEL>
-
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AsBoostItemConfigurationInterceptor,AsBoostRuleInterceptor,AsFacetConfigurationInterceptor,AsFacetRangeInterceptor,AsFacetValueConfigurationInterceptor,AsSearchConfigurationInterceptor,AsSortConfigurationInterceptor,AsSortExpressionInterceptor,BundleTemplateRemoveInterceptor,CatalogVersionRemoveInterceptor,CategoryRemovalValidator,CheckIfRemovableMediaInterceptor,CheckVersionsRemoveInterceptor,ClassAttributeAssignmentRemoveClassFeatureGroupAssignmentRemoveInterceptor,ClassificationAttributeRemoveClassFeatureGroupAssignmentRemoveInterceptor,ClassificationAttributeValueRemoveInterceptor,ClassificationClassPartOfRemoveInterceptor,ClassificationClassRemoveGroupAssignmentsRemoveInterceptor,ClearZDMVCurrencyRemoveInterceptor,ClearZDMVZoneRemoveInterceptor,CMSAbstractPageRemoveInterceptor,CMSContentSlotRemoveInterceptor,CMSItemRemoveInterceptor,CMSPageTemplateRemoveInterceptor,CockpitSavedQueryRemoveInterceptor,CodeGenerationConfigurationUsageValidateInterceptor,ConstraintGroupRemoveInterceptor,ConsumedDestinationRemoveInterceptor,ConsumedOAuthCredentialRemoveInterceptor,ContentSlotForPageRemoveInterceptor,CxActionRemoveInterceptor,CxScriptMapperInterceptor,CxSegmentRemoveInterceptor,DefaultAbstractOrderEntryRemoveInterceptor,DefaultAbstractOrderRemoveInterceptor,DefaultCatalogRemoveInterceptor,FlashBuyCouponCleanUpInterceptor,InboundChannelConfigurationRemoveInterceptor,IntegrationObjectRemoveInterceptor,ModifySystemUsersInterceptor,MultiAbstractOrderRemoveInterceptor,NavigationNodeRemoveInterceptor,PartOfModelRegisterForRemoveInterceptor,PDTRowRemoveInterceptor,ProductConfigurationRemoveInterceptor,ProductDirectoryRemoveInterceptor,ProductFeatureRemoveInterceptor,ProductPriceRegisterForRemoveInterceptor,ProductReferenceRemoveInterceptor,ProductRemoveInterceptor,RemoveBaseCurrencyInterceptor,RemoveCurrencyCheckOrdersInterceptor,RemoveDataOnMediaModelRemoveInterceptor,RemoveDeliverModesOnPaymentModeRemovalInterceptor,RemoveDeliveryModeCheckOrdersInterceptor,RemoveDiscountsOnCurrencyRemovalInterceptor,RemoveExposedDestinationInterceptor,RemoveInterceptorTest.RegionRemoveInterceptor,RemoveLastLanguageInterceptor,RemovePaymentModeCheckOrdersInterceptor,RemoveSessionLanguageInterceptor,RuleEngineRuleRemoveInterceptor,RuleGroupRemoveInterceptor,StoredHttpSessionRemoveInterceptor,StreamConfigurationRemoveInterceptor,SyncTimestampsRemoveInterceptor,SyncTimestapsForCatalogVersionRemoveInterceptor,UserRemoveInterceptor,VariantProductRemoveInterceptor,VariantTypeRemoveInterceptor,VoidInterceptor,Y2YStreamConfigurationContainerRemoveInterceptor
public interface RemoveInterceptor<MODEL> extends Interceptor
The RemoveInterceptor is called before a model is removed from the database. Use the RemoveInterceptor to prevent the removal of the model or to remove other (related) models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonRemove(MODEL model, InterceptorContext ctx)Called in themodelService.removeAll()method.
-
-
-
Method Detail
-
onRemove
void onRemove(MODEL model, InterceptorContext ctx) throws InterceptorException
Called in themodelService.removeAll()method.- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
-