Class DefaultB2BCustomerInterceptor
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2b.outbound.DefaultB2BCustomerInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<B2BCustomerModel>
public class DefaultB2BCustomerInterceptor extends java.lang.Object implements ValidateInterceptor<B2BCustomerModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultB2BCustomerInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2BCustomerExportServicegetB2bCustomerExportService()DefaultStoreSessionFacadegetStoreSessionFacade()voidonValidate(B2BCustomerModel customerModel, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService)voidsetStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade)
-
-
-
Method Detail
-
onValidate
public void onValidate(B2BCustomerModel customerModel, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<B2BCustomerModel>- Parameters:
customerModel- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getStoreSessionFacade
public DefaultStoreSessionFacade getStoreSessionFacade()
-
setStoreSessionFacade
public void setStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade)
-
getB2bCustomerExportService
public B2BCustomerExportService getB2bCustomerExportService()
-
setB2bCustomerExportService
public void setB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService)
-
-