Package de.hybris.platform.catalog.impl
Class SyncItemJobPreparer
- java.lang.Object
-
- de.hybris.platform.catalog.impl.SyncItemJobPreparer
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
public class SyncItemJobPreparer extends java.lang.Object implements PrepareInterceptor
PrepareInterceptorfor theSyncItemJobModel. Makes manual adjustments to code attribute to match the custom creation logic insideSyncItemJob. This is necessary since unique key checks catch before the actual jalo logic is being triggered!
-
-
Constructor Summary
Constructors Constructor Description SyncItemJobPreparer()
-
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.
-
-
-
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- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
-