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
public class GlobalDiscountRowPrepareInterceptor extends PDTRowPrepareInterceptor
PrepareInterceptorfor theGlobalDiscountRowModel.
-
-
Constructor Summary
Constructors Constructor Description GlobalDiscountRowPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(java.lang.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
-
-
-
-
Method Detail
-
onPrepare
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription 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
protected void updateProductMatchQualifier(PDTRowModel prModel, InterceptorContext ctx)
- Overrides:
updateProductMatchQualifierin classPDTRowPrepareInterceptor
-
updateCatalogVersion
protected void updateCatalogVersion(PDTRowModel pdtModel)
- Specified by:
updateCatalogVersionin classPDTRowPrepareInterceptor
-
-