Interface ValidateInterceptor<MODEL>
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AbstractConstraintUniqueValidator,AbstractConstraintValidator,AbstractCouponValidateInterceptor,AbstractDynamicContentValidateInterceptor,AbstractParentChildValidateInterceptor,AbstractParentChildValidateInterceptor,AbstractSnInterceptor,AddressValidator,AsBoostItemConfigurationInterceptor,AsBoostItemConfigurationMandatoryAttributesInterceptor,AsBoostRuleInterceptor,AsFacetConfigurationInterceptor,AsFacetRangeInterceptor,AsFacetValueConfigurationInterceptor,AsSearchConfigurationInterceptor,AsSearchProfileActivationSetInterceptor,AsSearchProfileInterceptor,AsSortConfigurationInterceptor,AsSortExpressionInterceptor,AttributeConstraintValidator,AuditReportConfigValidateInterceptor,AutomatedWorkflowActionTemplateValidator,B2BBudgetModelValidateInterceptor,B2BCostCenterModelValidateInterceptor,B2BCreditLimitModelValidateInterceptor,B2BCustomerModelValidateInterceptor,B2BCustomerPunchOutCredentialMappingValidateInterceptor,B2BDocumentPaymentValidateInterceptor,B2BUnitModelValidateInterceptor,B2BUnitPaymentTypesValidateInterceptor,B2BUserGroupModelValidateInterceptor,BackofficeIndexedTypeToSolrFacetSearchConfigValidator,BackofficeThemeInterceptor,CampaignRuleValidateInterceptor,CatalogURLPatternsValidator,CatalogVersionSyncScheduleMediaValidator,ChargeEntryValidateInterceptor,ClassAttributeAssignmentStateValidator,ClassificationAssociatesToProductOnlyValidateInterceptor,ClassificationAttributeReturnIntegrationObjectItemValidateInterceptor,ClassificationLocalizedReferenceValidateInterceptor,ClassificationMultipleValueValidateInterceptor,ClassificationRangeValidateInterceptor,ClassMapTypeValidateInterceptor,CleanUpCronJobInterceptor,CodeGenerationConfigurationValidateInterceptor,CompositeEntryJobValidateInterceptor,ConstraintGroupInterfaceNameValidator,ConsumedCertificateCredentialValidateInterceptor,ConsumedDestinationValidateInterceptor,ConsumedOAuthCredentialValidateInterceptor,ContentSlotForPageValidateInterceptor,ContentSlotForTemplateValidateInterceptor,ConversionStrategyValidateInterceptor,ConvertCommandMediaFormatValidateInterceptor,CreditCardPaymentInfoValidator,CsTicketValidationInterceptor,CustomerCouponValidateInterceptor,CxConfigValidationInterceptor,CxDefaultTriggerValidationInterceptor,CxExpressionTriggerInterceptor,CxScriptMapperInterceptor,CxSegmentTriggerValidationInterceptor,CyclicConversionMediaFormatValidateInterceptor,DeeplinkUrlValidateInterceptor,DestinationTargetValidateInterceptor,DroolsKIEBaseValidateInterceptor,DroolsKIESessionValidateInterceptor,DroolsRuleValidateInterceptor,DynamicConstraintValidator,DynamicProcessDefinitionValidateInterceptor,EntryGroupStructureValidateInterceptor,EnumerationValidator,ExposedDestinationICCMatchedCredentialValidateInterceptor,ExposedDestinationIntegrationAPIValidateInterceptor,ExposedDestinationValidateInterceptor,FlashComponentValidator,GenericVariantProductValidateInterceptor,GroupsCycleCheckValidator,HybrisEnumValueCodeConstraintValidator,InboundChannelConfigurationValidateInterceptor,IntegrationAttributeUniqueNameValidateInterceptor,IntegrationClassificationAttributeUniqueNameValidateInterceptor,IntegrationClientCredentialsAuthorizedGrantTypesValidateInterceptor,IntegrationClientCredentialsUserValidateInterceptor,IntegrationObjectClassAndItemNotAllowedInterceptor,IntegrationObjectClassAttributeNameValidateInterceptor,IntegrationObjectClassAttributeReadMethodValidateInterceptor,IntegrationObjectClassRootTypeValidateInterceptor,IntegrationObjectClassRootUpdateInterceptor,IntegrationObjectClassRootValidateInterceptor,IntegrationObjectClassTypeValidateInterceptor,IntegrationObjectItemAndClassNotAllowedInterceptor,IntegrationObjectItemAttributeValidateInterceptor,IntegrationObjectItemItemTypeMatchValidateInterceptor,IntegrationObjectItemPrivateAttributeValidateInterceptor,IntegrationObjectItemReservedAttributeNameValidatorInterceptor,IntegrationObjectItemVirtualAttributeModelInterceptor,IntegrationObjectTypeMixValidateInterceptor,ItemSyncTimeStampValidator,JobPerformableGenericTypeValidator,MandatoryAttributesValidator,MapTypeValidateInterceptor,MediaContextValidator,MediaFolderValidator,MerchSnConfigValidateInterceptor,ModifySystemUsersInterceptor,MultiCodeCouponValidateInterceptor,MultiSiteBaseSiteValidateInterceptor,MultiSiteCustomerValidateInterceptor,OAuthClientDetailsValidateInterceptor,OneTimeChargeEntryValidateInterceptor,OrgUnitModelValidateInterceptor,OverageUsageChargeEntryValidateInterceptor,PickExactlyNBundleSelectionCriteriaValidateInterceptor,PickNToMBundleSelectionCriteriaValidateInterceptor,PLA_12491_Test_Interceptor,PriceRowValidateInterceptor,ProductEntitlementValidateInterceptor,ProductFeatureValidateInterceptor,PromotionSourceRuleValidateInterceptor,PunchOutCredentialValidateInterceptor,RecurringChargeEntryValidateInterceptor,RootClassExistsValidateInterceptor,RootExistsValidator,RuleEngineRuleValidateInterceptor,ScriptValidateInterceptor,SingleCodeCouponValidateInterceptor,SingleRootClassValidateInterceptor,SingleRootItemValidator,SnFieldInterceptor,SnIndexConfigurationInterceptor,SnIndexerItemSourceOperationInterceptor,SnIndexTypeInterceptor,SnSearchProviderConfigurationInterceptor,SnSynonymDictionaryInterceptor,SnSynonymEntryInterceptor,SolrFacetSearchConfigValidator,SolrFacetSearchKeywordRedirectValidateInterceptor,SolrIndexedPropertyValidateInterceptor,SolrKeywordRedirectValidateInterceptor,SolrRangeSetInterceptor,SolrRangeValueInterceptor,SolrSearchQueryPropertyValidateInterceptor,SolrSearchQueryTemplateValidateInterceptor,SourceRuleTemplateValidateInterceptor,SourceRuleValidateInterceptor,StandardAttributeReturnIntegrationObjectItemValidateInterceptor,StreamConfigurationValidationInterceptor,SubscriptionPricePlanValidateInterceptor,SyncAttributeDescriptorConfigValidator,TestAddressModelValidateInterceptor,TierUsageChargeEntryValidateInterceptor,TriggerJobValidateInterceptor,TriggerValidateInterceptor,TypeConstraintValidator,UniqueAttributesInterceptor,UniqueCatalogItemInterceptor,UniqueClassificationSystemItemInterceptor,UsageChargeValidateInterceptor,UserPasswordEncodingValidator,ValidateCurrencyDataInterceptor,ValidateLocalizedConstraintInterceptor,ValidationInterceptor,VariantCategoryValidateInterceptor,VariantProductValidateInterceptor,VariantValueCategoryValidateInterceptor,VirtualAttributeDescriptorValidateInterceptor,VoidInterceptor,WebhookConfigurationDestinationValidateInterceptor,WebhookConfigurationFilterLocationValidateInterceptor,WebhookConfigurationRootClassUpdateInterceptor,WebhookConfigurationRootItemUpdateInterceptor,WebhookConfigurationValidateInterceptor,XorNullReferenceConstraintValidator,Y2YColumnDefinitionValidateInterceptor,Y2YStreamConfigurationValidateInterceptor,ZoneDeliveryModeValueValidator
The ValidateInterceptor is called after the model is been prepared by all needed
PrepareInterceptors and
before the model is saved to the database. If the model is related to other unsaved models their ValidateInterceptor are
called before this one.
Use this ValidateInterceptor to validate values of the model. Use the PrepareInterceptor for preparing them.-
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(MODEL model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Method Details
-
onValidate
Called in themodelService.saveAll()method. Validates the values of the given model.- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-