public class DefaultSECCustomerValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
| Constructor and Description |
|---|
DefaultSECCustomerValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationService |
getConfigurationService() |
EventService |
getEventService() |
void |
onValidate(CustomerModel customer,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setEventService(EventService eventService) |
public DefaultSECCustomerValidateInterceptor()
public void onValidate(CustomerModel customer, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CustomerModel>customer - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public EventService getEventService()
public void setEventService(EventService eventService)
public ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2018 SAP SE. All Rights Reserved.