public class StreamConfigurationValidationInterceptor extends java.lang.Object implements ValidateInterceptor<StreamConfigurationModel>
| Constructor and Description |
|---|
StreamConfigurationValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(StreamConfigurationModel config,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setTypeService(TypeService typeService) |
public StreamConfigurationValidationInterceptor()
public void onValidate(StreamConfigurationModel config, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<StreamConfigurationModel>config - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.