Interface RemoveInterceptor<MODEL>
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AsBoostItemConfigurationInterceptor,AsBoostRuleInterceptor,AsFacetConfigurationInterceptor,AsFacetRangeInterceptor,AsFacetValueConfigurationInterceptor,AsSearchConfigurationInterceptor,AsSortConfigurationInterceptor,AsSortExpressionInterceptor,BackofficeThemeInterceptor,BundleTemplateRemoveInterceptor,CatalogVersionRemoveInterceptor,CategoryRemovalValidator,CheckIfRemovableMediaInterceptor,CheckVersionsRemoveInterceptor,ClassAttributeAssignmentRemoveClassFeatureGroupAssignmentRemoveInterceptor,ClassificationAttributeRemoveClassFeatureGroupAssignmentRemoveInterceptor,ClassificationAttributeValueRemoveInterceptor,ClassificationClassPartOfRemoveInterceptor,ClassificationClassRemoveGroupAssignmentsRemoveInterceptor,ClearZDMVCurrencyRemoveInterceptor,ClearZDMVZoneRemoveInterceptor,CMSAbstractComponentRemoveInterceptor,CMSAbstractPageRemoveInterceptor,CMSContentSlotRemoveInterceptor,CMSItemRemoveInterceptor,CMSPageTemplateRemoveInterceptor,CockpitSavedQueryRemoveInterceptor,CodeGenerationConfigurationUsageValidateInterceptor,ConstraintGroupRemoveInterceptor,ConsumedDestinationRemoveInterceptor,ConsumedOAuthCredentialRemoveInterceptor,ContentSlotForPageRemoveInterceptor,CxActionRemoveInterceptor,CxScriptMapperInterceptor,CxSegmentRemoveInterceptor,DefaultAbstractOrderEntryRemoveInterceptor,DefaultAbstractOrderRemoveInterceptor,DefaultCatalogRemoveInterceptor,FlashBuyCouponCleanUpInterceptor,InboundChannelConfigurationRemoveInterceptor,IntegrationObjectRemoveInterceptor,ModifySystemUsersInterceptor,MultiAbstractOrderRemoveInterceptor,NavigationNodeRemoveInterceptor,PartOfModelRegisterForRemoveInterceptor,PDTRowRemoveInterceptor,PreventRootMediaFolderRemovalInterceptor,ProductConfigurationRemoveInterceptor,ProductDirectoryRemoveInterceptor,ProductFeatureRemoveInterceptor,ProductPriceRegisterForRemoveInterceptor,ProductReferenceRemoveInterceptor,ProductRemoveInterceptor,RemoveBaseCurrencyInterceptor,RemoveConsumedDestinationInterceptor,RemoveCurrencyCheckOrdersInterceptor,RemoveDataOnMediaModelRemoveInterceptor,RemoveDeliverModesOnPaymentModeRemovalInterceptor,RemoveDeliveryModeCheckOrdersInterceptor,RemoveDiscountsOnCurrencyRemovalInterceptor,RemoveExposedDestinationInterceptor,RemoveInterceptorTest.RegionRemoveInterceptor,RemoveLastLanguageInterceptor,RemovePaymentModeCheckOrdersInterceptor,RemoveSessionLanguageInterceptor,RuleEngineRuleRemoveInterceptor,RuleGroupRemoveInterceptor,StoredHttpSessionRemoveInterceptor,StreamConfigurationRemoveInterceptor,SyncTimestampsRemoveInterceptor,SyncTimestapsForCatalogVersionRemoveInterceptor,UserRemoveInterceptor,VariantProductRemoveInterceptor,VariantTypeRemoveInterceptor,VoidInterceptor,WebhookItemRemoveInterceptor,Y2YStreamConfigurationContainerRemoveInterceptor
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
Modifier and TypeMethodDescriptionvoidonRemove(MODEL model, InterceptorContext ctx) Called in themodelService.removeAll()method.
-
Method Details
-
onRemove
Called in themodelService.removeAll()method.- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-