Class ConvertCommandMediaFormatValidateInterceptor
java.lang.Object
de.hybris.platform.mediaconversion.model.interceptors.ConvertCommandMediaFormatValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ConversionMediaFormatModel>
public class ConvertCommandMediaFormatValidateInterceptor
extends Object
implements ValidateInterceptor<ConversionMediaFormatModel>
-
Constructor Summary
ConstructorsConstructorDescriptionConvertCommandMediaFormatValidateInterceptor(ImageMagickSecurityService securityService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ConversionMediaFormatModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ConvertCommandMediaFormatValidateInterceptor
-
-
Method Details
-
onValidate
public void onValidate(ConversionMediaFormatModel model, InterceptorContext ctx) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ConversionMediaFormatModel>- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-