Class JobPerformableGenericTypeValidator
- java.lang.Object
-
- de.hybris.platform.servicelayer.cronjob.impl.JobPerformableGenericTypeValidator
-
- All Implemented Interfaces:
Interceptor
,ValidateInterceptor
public class JobPerformableGenericTypeValidator extends java.lang.Object implements ValidateInterceptor
validator checking if the assignedJobPerformable
is the compatible
-
-
Constructor Summary
Constructors Constructor Description JobPerformableGenericTypeValidator()
-
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.void
setCronJobService(CronJobService cronJobService)
-
-
-
Method Detail
-
setCronJobService
public void setCronJobService(CronJobService cronJobService)
-
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.
-
-