Class CompositeEntryJobValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.servicelayer.cronjob.impl.CompositeEntryJobValidateInterceptor
-
- All Implemented Interfaces:
Interceptor
,ValidateInterceptor
public class CompositeEntryJobValidateInterceptor extends java.lang.Object implements ValidateInterceptor
CompositeEntryModel
validator preventing against wrong assignment forCompositeEntryModel.setTriggerableJob(de.hybris.platform.cronjob.model.JobModel)
.
-
-
Constructor Summary
Constructors Constructor Description CompositeEntryJobValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onValidate(java.lang.Object model, InterceptorContext ctx)
Called in themodelService.saveAll()
method.
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptor
Called in themodelService.saveAll()
method. Validates the values of the given model.- Specified by:
onValidate
in interfaceValidateInterceptor
- Parameters:
model
- the model which values has to be validatedctx
- theInterceptorContext
- Throws:
InterceptorException
- if any values of the model are not valid.
-
-