Class DefaultB2BCustomerAddressInterceptor
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2b.outbound.DefaultB2BCustomerAddressInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<AddressModel>
public class DefaultB2BCustomerAddressInterceptor extends java.lang.Object implements ValidateInterceptor<AddressModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultB2BCustomerAddressInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2BCustomerExportServicegetB2bCustomerExportService()DefaultStoreSessionFacadegetStoreSessionFacade()voidonValidate(AddressModel addressModel, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService)voidsetStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade)
-
-
-
Method Detail
-
onValidate
public void onValidate(AddressModel addressModel, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<AddressModel>- Parameters:
addressModel- 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)
-
-