Package de.hybris.platform.catalog.impl
Class ItemSyncTimeStampValidator
java.lang.Object
de.hybris.platform.catalog.impl.ItemSyncTimeStampValidator
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Validates the
ItemSyncTimestampModel. Throws the InterceptorException if the source item, target item or the
sync job is null.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ItemSyncTimeStampValidator
public ItemSyncTimeStampValidator()
-
-
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.
-