Class StreamConfigurationValidationInterceptor
- java.lang.Object
-
- de.hybris.deltadetection.interceptors.StreamConfigurationValidationInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<StreamConfigurationModel>
public class StreamConfigurationValidationInterceptor extends java.lang.Object implements ValidateInterceptor<StreamConfigurationModel>
-
-
Constructor Summary
Constructors Constructor Description StreamConfigurationValidationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(StreamConfigurationModel config, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
onValidate
public void onValidate(StreamConfigurationModel config, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<StreamConfigurationModel>- Parameters:
config- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setTypeService
public void setTypeService(TypeService typeService)
-
-