Class CustomerOriginalUidPrepareInterceptor
java.lang.Object
de.hybris.platform.commerceservices.customer.impl.CustomerOriginalUidPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Synchronizes uid, originalUid and undecoratedUid of
CustomerModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustUid(CustomerModel customer) Deprecated, for removal: This API element is subject to removal in a future version.protected voidalignUidAndOriginalUid(CustomerModel customer) protected voidprotected voidcheckSiteIsConsistent(CustomerModel customer) protected MultiSiteUidDecorationServicevoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.protected voidpreCheck(InterceptorContext ctx, CustomerModel customer) voidsetMultiSiteUidDecorationService(MultiSiteUidDecorationService multiSiteUidDecorationService)
-
Constructor Details
-
CustomerOriginalUidPrepareInterceptor
public CustomerOriginalUidPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
preCheck
- Throws:
InterceptorException
-
checkSiteIsConsistent
- Throws:
InterceptorException
-
adjustUid
Deprecated, for removal: This API element is subject to removal in a future version.since 2211, usealignUidAndOriginalUid(CustomerModel) -
alignUidAndOriginalUid
-
alignUndecoratedUidWithOriginalUid
-
getMultiSiteUidDecorationService
-
setMultiSiteUidDecorationService
public void setMultiSiteUidDecorationService(MultiSiteUidDecorationService multiSiteUidDecorationService)
-
alignUidAndOriginalUid(CustomerModel)