Class AgentDesktopCustomerValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.sap.agentdesktopdataexchange.interceptors.AgentDesktopCustomerValidateInterceptor
-
- All Implemented Interfaces:
Interceptor
,ValidateInterceptor<CustomerModel>
public class AgentDesktopCustomerValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
-
-
Constructor Summary
Constructors Constructor Description AgentDesktopCustomerValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationService
getConfigurationService()
EventService
getEventService()
void
onValidate(CustomerModel customer, InterceptorContext ctx)
Called in themodelService.saveAll()
method.void
setConfigurationService(ConfigurationService configurationService)
void
setEventService(EventService eventService)
-
-
-
Method Detail
-
onValidate
public void onValidate(CustomerModel customer, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptor
Called in themodelService.saveAll()
method. Validates the values of the given model.- Specified by:
onValidate
in 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)
-
-