public class DefaultB2BCustomerAddressInterceptor extends java.lang.Object implements ValidateInterceptor<AddressModel>
| Constructor and Description |
|---|
DefaultB2BCustomerAddressInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
B2BCustomerExportService |
getB2bCustomerExportService() |
DefaultStoreSessionFacade |
getStoreSessionFacade() |
void |
onValidate(AddressModel addressModel,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService) |
void |
setStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade) |
public DefaultB2BCustomerAddressInterceptor()
public void onValidate(AddressModel addressModel, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<AddressModel>addressModel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.public DefaultStoreSessionFacade getStoreSessionFacade()
public void setStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade)
public B2BCustomerExportService getB2bCustomerExportService()
public void setB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService)
Copyright © 2018 SAP SE. All Rights Reserved.