Class TriggerPrepareInterceptor
java.lang.Object
de.hybris.platform.servicelayer.cronjob.impl.TriggerPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<TriggerModel>
Prepare interceptor for
TriggerModel. Takes care of creating proper TriggerTaskModel if necessary.
INACTIVE for now! Try to enable it if Trigger creation is ready to be persisted without jalo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(TriggerModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetModelService(ModelService modelService)
-
Constructor Details
-
TriggerPrepareInterceptor
public TriggerPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<TriggerModel>- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setModelService
-