Interface PrepareInterceptor<MODEL>
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AbstractBundleRuleIDPrepareInterceptor,AbstractDynamicContentPrepareInterceptor,AccountUppercaseInterceptor,AddressPrepareInterceptor,AdvancedShippingNoticePrepareInterceptor,AgreementPrepareInterceptor,AsBoostItemConfigurationInterceptor,AsBoostRuleInterceptor,AsCategoryAwareSearchConfigurationInterceptor,AsConfigurationInterceptor,AsFacetConfigurationInterceptor,AsFacetRangeInterceptor,AsFacetValueConfigurationInterceptor,AsSearchConfigurationInterceptor,AsSimpleSearchConfigurationInterceptor,AsSortConfigurationInterceptor,AsSortExpressionInterceptor,AttributeConstraintPreparer,B2BCommentPrepareInterceptor,B2BCustomerPrepareInterceptor,B2BDocumentPrepareInterceptor,BackofficeCatalogVersionPrepareInterceptor,BundleSelectionCriteriaIDPrepareInterceptor,BundleTemplatePrepareInterceptor,BundleTemplateStatusIDPrepareInterceptor,CatalogPrepareInterceptor,CatalogVersionPrepareInterceptor,CatalogVersionSyncScheduleMediaPreparer,CategoryPrepareInterceptor,ChargeEntryIdPrepareInterceptor,ChineseAddressPrepareInterceptor,ClassAttributeAssignmentCreateGroupAssignmentPrepareInterceptor,ClassificationClassAttributeAssignmentRemovalPrepareInterceptor,ClassificationClassCreateInheritedFeatureGroupAssignmentPrepareInterceptor,ClassificationClassSupercategoriesUnassigningPrepareInterceptor,CMSAbstractComponentPrepareInterceptor,CMSAbstractRestrictionPrepareInterceptor,CmsContentPagePrepareInterceptor,CMSContentSlotPrepareInterceptor,CMSDefaultPageInterceptor,CockpitObjectCollectionModelPrepareInterceptor,CockpitSavedQueryPrepareInterceptor,CommentPreparer,ConsignmentPackagingInfoPrepareInterceptor,ConsignmentPrepareInterceptor,ConsignmentPrepareInterceptor,ConstraintGroupPrepareInterceptor,ContactInfoPrepareInterceptor,ContentSlotForPagePrepareInterceptor,CsCustomerEventPrepareInterceptor,CsTicketEventPrepareInterceptor,CsTicketPrepareInterceptor,CustomerIDPrepareInterceptor,CustomerOriginalUidPrepareInterceptor,CxExpressionTriggerInterceptor,DefaultAbstractOrderEntryPreparer,DefaultAbstractOrderPrepareInterceptor,DefaultChannelConfigurationPrepareInterceptor,DefaultConsentPrepareInterceptor,DefaultOrderPrepareInterceptor,DefaultQuotePrepareInterceptor,DisableLoginForImportedUserInterceptor,DiscountRowPrepareInterceptor,DroolsKIEBasePrepareInterceptor,DroolsKIEModulePrepareInterceptor,DynamicProcessDefinitionPrepareInterceptor,EnumerationPrepareInterceptor,FeatureOfReferenceTypePrepareInterceptor,GlobalDiscountRowPrepareInterceptor,HistoryEntryInterceptor,ItemSyncTimeStampPreparer,JaloInitDefaultsInterceptor,JasperMediaPrepareInterceptor,JasperWidgetPreferencesPreparer,LinkPrepareInterceptor,MediaModelPrepareInterceptor,NavigationNodePrepareInterceptor,OAuthClientInterceptor,OrphanedPartOfCleanupPrepareInterceptor,PDTRowPrepareInterceptor,PrepareCronJobInterceptor,PrepareDefaultSymbolInterceptor,PrepareOrderCancelRecordInterceptor,PrepareOrderModificationRecordInterceptor,PreparePaymentTransactionEntryInterceptor,PreparePaymentTransactionInterceptor,PrepareReplacementOrderInterceptor,PrepareReturnRequestInterceptor,PreviewTicketPrepareInterceptor,PriceRowPrepareInterceptor,PrincipalCatalogVersionsPrepareInterceptor,ProductConfigRulesPrepareInterceptor,ProductEntitlementIdPrepareInterceptor,ProductFeaturePrepareInterceptor,ProductReferencePrepareInterceptor,PromotionRulePrepareInterceptor,RelatedPagePrepareInterceptor,RemoveDataOnSetURLPrepareInterceptor,RuleEngineRulePrepareInterceptor,RulePrepareInterceptor,RuleVersioningPrepareInterceptor,SolrSearchConfigPreparer,SubscriptionIdPrepareInterceptor,SyncAttributeDescriptorConfigPreparer,SyncItemJobPreparer,TaskConditionPrepareInterceptor,TaskPrepareInterceptor,TaxRowPrepareInterceptor,TriggerPrepareInterceptor,TypeConstraintPreparer,UniqueCatalogItemInterceptor,UniqueClassificationSystemItemInterceptor,UsageChargeIdPrepareInterceptor,UserAuthenticationTokensRemovePrepareInterceptor,UserPasswordChangeAuditPrepareInterceptor,UserPasswordEncodingPreparer,VariantProductPrepareInterceptor,VariantTypePrepareInterceptor,ViewTypePrepareInterceptor,VoidInterceptor,WorkflowActionDefaultCodeInterceptor,WorkflowDecisionDefaultCodeInterceptor,WorkflowItemAttachmentDefaultCodeInterceptor,WorkflowTemplateDefaultCodeInterceptor,Y2YColumnDefinitionPrepareInterceptor,Y2YStreamConfigurationContainerPrepareInterceptor,Y2YStreamConfigurationPrepareInterceptor,YFormDataPrepareInterceptor
The PrepareInterceptor is called before it is validated by the
ValidateInterceptors and before the
model is saved to the database. If the model is related to other unsaved models their PrepareInterceptors are called before
this models PrepareInterceptor.
Use this PrepareInterceptor for preparing model values. For validating the model values use the ValidateInterceptor.-
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(MODEL model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Method Details
-
onPrepare
Called in themodelService.saveAll()method. Prepares the values of the given model.- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-