Class TriggerJobValidateInterceptor
java.lang.Object
de.hybris.platform.servicelayer.cronjob.impl.TriggerJobValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
TriggerModel validator preventing against wrong assignment for
TriggerModel.setJob(de.hybris.platform.cronjob.model.JobModel).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetModelService(ModelService modelService)
-
Constructor Details
-
TriggerJobValidateInterceptor
public TriggerJobValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setModelService
-