public class DefaultB2BCustomerInterceptor extends java.lang.Object implements ValidateInterceptor<B2BCustomerModel>
| Constructor and Description |
|---|
DefaultB2BCustomerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
B2BCustomerExportService |
getB2bCustomerExportService() |
DefaultStoreSessionFacade |
getStoreSessionFacade() |
void |
onValidate(B2BCustomerModel customerModel,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setB2bCustomerExportService(B2BCustomerExportService b2bCustomerExportService) |
void |
setStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade) |
public void onValidate(B2BCustomerModel customerModel, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<B2BCustomerModel>customerModel - 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.