Interface PrepareInterceptor<MODEL>
-
- All Superinterfaces:
Interceptor
- All Known Implementing Classes:
AbstractBundleRuleIDPrepareInterceptor
,AbstractDynamicContentPrepareInterceptor
,AccountUppercaseInterceptor
,AddressPrepareInterceptor
,AdvancedShippingNoticePrepareInterceptor
,AgreementPrepareInterceptor
,AsBoostItemConfigurationInterceptor
,AsBoostRuleInterceptor
,AsCategoryAwareSearchConfigurationInterceptor
,AsConfigurationInterceptor
,AsConfigurationPartOfCleanupInterceptor
,AsFacetConfigurationInterceptor
,AsFacetValueConfigurationInterceptor
,AsSearchConfigurationInterceptor
,AsSimpleSearchConfigurationInterceptor
,AsSortConfigurationInterceptor
,AsSortExpressionInterceptor
,AttributeConstraintPreparer
,B2BCommentPrepareInterceptor
,B2BDocumentPrepareInterceptor
,BundleSelectionCriteriaIDPrepareInterceptor
,BundleTemplatePrepareInterceptor
,BundleTemplateStatusIDPrepareInterceptor
,CatalogPrepareInterceptor
,CatalogVersionPrepareInterceptor
,CatalogVersionSyncScheduleMediaPreparer
,CategoryPrepareInterceptor
,ChargeEntryIdPrepareInterceptor
,ChineseAddressPrepareInterceptor
,CmsContentPagePrepareInterceptor
,CMSDefaultPageInterceptor
,CockpitObjectCollectionModelPrepareInterceptor
,CockpitSavedQueryPrepareInterceptor
,CommentPreparer
,ConsignmentPackagingInfoPrepareInterceptor
,ConsignmentPrepareInterceptor
,ConsignmentPrepareInterceptor
,ConstraintGroupPrepareInterceptor
,ContactInfoPrepareInterceptor
,CsCustomerEventPrepareInterceptor
,CsTicketEventPrepareInterceptor
,CsTicketPrepareInterceptor
,CustomerIDPrepareInterceptor
,CustomerOriginalUidPrepareInterceptor
,CxExpressionTriggerInterceptor
,DefaultAbstractOrderEntryPreparer
,DefaultAbstractOrderPrepareInterceptor
,DefaultChannelConfigurationPrepareInterceptor
,DefaultConsentPrepareInterceptor
,DefaultOrderPrepareInterceptor
,DefaultQuotePrepareInterceptor
,DefaultSAPCustomerAddressConsistencyInterceptor
,DiscountRowPrepareInterceptor
,DroolsKIEBasePrepareInterceptor
,DroolsKIEModulePrepareInterceptor
,DynamicProcessDefinitionPrepareInterceptor
,EnumerationPrepareInterceptor
,GlobalDiscountRowPrepareInterceptor
,HistoryEntryInterceptor
,ItemSyncTimeStampPreparer
,JaloInitDefaultsInterceptor
,JasperMediaPrepareInterceptor
,JasperWidgetPreferencesPreparer
,LinkPrepareInterceptor
,MediaModelPrepareInterceptor
,NavigationNodePrepareInterceptor
,OAuthClientInterceptor
,OrphanedPartOfCleanupPrepareInterceptor
,PDTRowPrepareInterceptor
,PrepareCronJobInterceptor
,PrepareDefaultSymbolInterceptor
,PrepareOrderCancelRecordInterceptor
,PrepareOrderModificationRecordInterceptor
,PreparePaymentTransactionEntryInterceptor
,PreparePaymentTransactionInterceptor
,PrepareReplacementOrderInterceptor
,PrepareReturnRequestInterceptor
,PreviewTicketPrepareInterceptor
,PriceRowPrepareInterceptor
,PrincipalCatalogVersionsPrepareInterceptor
,ProductConfigRulesCPSPrepareInterceptor
,ProductConfigRulesPrepareInterceptor
,ProductEntitlementIdPrepareInterceptor
,ProductFeaturePrepareInterceptor
,ProductReferencePrepareInterceptor
,PromotionRulePrepareInterceptor
,RelatedPagePrepareInterceptor
,RemoveDataOnSetURLPrepareInterceptor
,RuleEngineRulePrepareInterceptor
,RulePrepareInterceptor
,RuleVersioningPrepareInterceptor
,SapCpiB2BUnitAddressInterceptor
,SAPGlobalConfigurationPrepareInterceptor
,SapOutboundIdPrepareInterceptor
,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
public interface PrepareInterceptor<MODEL> extends Interceptor
The PrepareInterceptor is called before it is validated by theValidateInterceptor
s 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 theValidateInterceptor
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPrepare(MODEL model, InterceptorContext ctx)
Called in themodelService.saveAll()
method.
-
-
-
Method Detail
-
onPrepare
void onPrepare(MODEL model, InterceptorContext ctx) throws InterceptorException
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
-
-