Interface ValidateInterceptor<MODEL>
-
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AbstractConstraintUniqueValidator,AbstractConstraintValidator,AbstractCouponValidateInterceptor,AbstractDynamicContentValidateInterceptor,AbstractParentChildValidateInterceptor,AbstractParentChildValidateInterceptor,AddressValidator,AgentDesktopCustomerValidateInterceptor,AsBoostItemConfigurationInterceptor,AsBoostRuleInterceptor,AsFacetConfigurationInterceptor,AsFacetValueConfigurationInterceptor,AsSearchConfigurationInterceptor,AsSearchProfileActivationSetInterceptor,AsSearchProfileInterceptor,AsSortConfigurationInterceptor,AsSortExpressionInterceptor,AttributeConstraintValidator,AuditReportConfigValidateInterceptor,AutomatedWorkflowActionTemplateValidator,B2BBudgetModelValidateInterceptor,B2BCostCenterModelValidateInterceptor,B2BCreditLimitModelValidateInterceptor,B2BCustomerModelValidateInterceptor,B2BCustomerPunchOutCredentialMappingValidateInterceptor,B2BDocumentPaymentValidateInterceptor,B2BUnitModelValidateInterceptor,B2BUserGroupModelValidateInterceptor,BackofficeIndexedTypeToSolrFacetSearchConfigValidator,CampaignRuleValidateInterceptor,CatalogURLPatternsValidator,CatalogVersionSyncScheduleMediaValidator,CecModelInterceptor,ChargeEntryValidateInterceptor,ClassAttributeAssignmentStateValidator,CleanUpCronJobInterceptor,CodeGenerationConfigurationValidateInterceptor,CompositeEntryJobValidateInterceptor,ConstraintGroupInterfaceNameValidator,ConsumedCertificateCredentialValidateInterceptor,ConsumedDestinationValidateInterceptor,ConsumedOAuthCredentialValidateInterceptor,ContentSlotForPageValidateInterceptor,ContentSlotForTemplateValidateInterceptor,ConversionStrategyValidateInterceptor,ConvertCommandMediaFormatValidateInterceptor,CreditCardPaymentInfoValidator,CsTicketValidationInterceptor,CustomerCouponValidateInterceptor,CxConfigValidationInterceptor,CxDefaultTriggerValidationInterceptor,CxExpressionTriggerInterceptor,CxScriptMapperInterceptor,CxSegmentTriggerValidationInterceptor,CyclicConversionMediaFormatValidateInterceptor,DeeplinkUrlValidateInterceptor,DefaultAddressInterceptor,DefaultB2BCustomerAddressInterceptor,DefaultB2BCustomerInterceptor,DefaultCustomerInterceptor,DefaultSapC4cAddressInterceptor,DefaultSapC4cCustomerInterceptor,DefaultSapRevenueCloudAddressValidateInterceptor,DefaultSapRevenueCloudCustomerValidateInterceptor,DefaultSECCustomerValidateInterceptor,DestinationTargetValidateInterceptor,DroolsKIEBaseValidateInterceptor,DroolsKIESessionValidateInterceptor,DroolsRuleValidateInterceptor,DynamicConstraintValidator,DynamicProcessDefinitionValidateInterceptor,EntryGroupStructureValidateInterceptor,EnumerationValidator,FlashComponentValidator,GenericVariantProductValidateInterceptor,GigyaConfigValidateInterceptor,GigyaUserValidateInterceptor,GroupsCycleCheckValidator,HTTPDestinationValidateInterceptor,HybrisEnumValueCodeConstraintValidator,ItemSyncTimeStampValidator,JobPerformableGenericTypeValidator,MandatoryAttributesValidator,MediaContextValidator,MediaFolderValidator,ModifySystemUsersInterceptor,MultiCodeCouponValidateInterceptor,OneTimeChargeEntryValidateInterceptor,OrgUnitModelValidateInterceptor,OverageUsageChargeEntryValidateInterceptor,PickExactlyNBundleSelectionCriteriaValidateInterceptor,PickNToMBundleSelectionCriteriaValidateInterceptor,PLA_12491_Test_Interceptor,PriceRowValidateInterceptor,ProductEntitlementValidateInterceptor,ProductFeatureValidateInterceptor,PunchOutCredentialValidateInterceptor,RecurringChargeEntryValidateInterceptor,RFCDestinationValidateInterceptor,RuleEngineRuleValidateInterceptor,RuleGroupValidateInterceptor,SapLogicalSystemValidationInterceptor,SapPlantLogSysOrgValidationInterceptor,ScimUserValidateInterceptor,ScriptValidateInterceptor,SingleCodeCouponValidateInterceptor,SingleRootItemValidator,SolrFacetSearchConfigValidator,SolrFacetSearchKeywordRedirectValidateInterceptor,SolrIndexedPropertyValidateInterceptor,SolrKeywordRedirectValidateInterceptor,SolrRangeSetInterceptor,SolrRangeValueInterceptor,SolrSearchQueryPropertyValidateInterceptor,SolrSearchQueryTemplateValidateInterceptor,SourceRuleTemplateValidateInterceptor,SourceRuleValidateInterceptor,StreamConfigurationValidationInterceptor,SubscriptionPricePlanValidateInterceptor,SyncAttributeDescriptorConfigValidator,TestAddressModelValidateInterceptor,TierUsageChargeEntryValidateInterceptor,TriggerJobValidateInterceptor,TriggerValidateInterceptor,TypeConstraintValidator,UniqueAttributesInterceptor,UniqueCatalogItemInterceptor,UniqueClassificationSystemItemInterceptor,UsageChargeValidateInterceptor,UserPasswordEncodingValidator,ValidateCurrencyDataInterceptor,ValidateLocalizedConstraintInterceptor,ValidationInterceptor,VariantCategoryValidateInterceptor,VariantProductValidateInterceptor,VariantValueCategoryValidateInterceptor,VoidInterceptor,XorNullReferenceConstraintValidator,Y2YColumnDefinitionValidateInterceptor,Y2YStreamConfigurationValidateInterceptor,ZoneDeliveryModeValueValidator
public interface ValidateInterceptor<MODEL> extends Interceptor
The ValidateInterceptor is called after the model is been prepared by all neededPrepareInterceptors 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 thePrepareInterceptorfor preparing them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonValidate(MODEL model, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
void onValidate(MODEL model, InterceptorContext ctx) throws InterceptorException
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.
-
-