public class Y2YStreamConfigurationValidateInterceptor extends java.lang.Object implements ValidateInterceptor<Y2YStreamConfigurationModel>
| Constructor and Description |
|---|
Y2YStreamConfigurationValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(Y2YStreamConfigurationModel streamConfiguration,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setTypeService(TypeService typeService) |
public Y2YStreamConfigurationValidateInterceptor()
public void onValidate(Y2YStreamConfigurationModel streamConfiguration, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<Y2YStreamConfigurationModel>streamConfiguration - 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.