Class StreamConfigurationValidationInterceptor
java.lang.Object
de.hybris.deltadetection.interceptors.StreamConfigurationValidationInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<StreamConfigurationModel>
public class StreamConfigurationValidationInterceptor
extends Object
implements ValidateInterceptor<StreamConfigurationModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(StreamConfigurationModel config, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
Constructor Details
-
StreamConfigurationValidationInterceptor
public StreamConfigurationValidationInterceptor()
-
-
Method Details
-
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
-