Package de.hybris.platform.product.impl
Class GlobalDiscountRowPrepareInterceptor
java.lang.Object
de.hybris.platform.product.impl.PDTRowPrepareInterceptor
de.hybris.platform.product.impl.GlobalDiscountRowPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
PrepareInterceptor for the GlobalDiscountRowModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.protected voidupdateCatalogVersion(PDTRowModel pdtModel) protected voidupdateProductMatchQualifier(PDTRowModel prModel, InterceptorContext ctx) Methods inherited from class de.hybris.platform.product.impl.PDTRowPrepareInterceptor
getCatalogTypeService, handleProductAndProductGroup, handleUserAndUserGroup, setCatalogTypeService, setPdtProductModificationMarker, setTypeService, updateUserMatchQualifier
-
Constructor Details
-
GlobalDiscountRowPrepareInterceptor
public GlobalDiscountRowPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Overrides:
onPreparein classPDTRowPrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
updateProductMatchQualifier
- Overrides:
updateProductMatchQualifierin classPDTRowPrepareInterceptor
-
updateCatalogVersion
- Specified by:
updateCatalogVersionin classPDTRowPrepareInterceptor
-