Class DefaultSECCustomerValidateInterceptor
- java.lang.Object
-
- com.sap.hybris.sec.eventpublisher.interceptor.DefaultSECCustomerValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<CustomerModel>
public class DefaultSECCustomerValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultSECCustomerValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationServicegetConfigurationService()EventServicegetEventService()voidonValidate(CustomerModel customer, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetConfigurationService(ConfigurationService configurationService)voidsetEventService(EventService eventService)
-
-
-
Method Detail
-
onValidate
public void onValidate(CustomerModel customer, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<CustomerModel>- Parameters:
customer- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getEventService
public EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
getConfigurationService
public ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-