public class DefaultCustomerInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
| Constructor and Description |
|---|
DefaultCustomerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
BaseStoreService |
getBaseStoreService() |
CustomerExportService |
getCustomerExportService() |
DefaultStoreSessionFacade |
getStoreSessionFacade() |
void |
onValidate(CustomerModel customerModel,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setBaseStoreService(BaseStoreService baseStoreService)
set baseStoreService
|
void |
setCustomerExportService(CustomerExportService customerExportService)
set customerExportService
|
void |
setStoreSessionFacade(DefaultStoreSessionFacade storeSessionFacade)
set storeSessionFacade
|
public void onValidate(CustomerModel customerModel, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CustomerModel>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)
storeSessionFacade - public CustomerExportService getCustomerExportService()
public void setCustomerExportService(CustomerExportService customerExportService)
customerExportService - public BaseStoreService getBaseStoreService()
public void setBaseStoreService(BaseStoreService baseStoreService)
baseStoreService - Copyright © 2018 SAP SE. All Rights Reserved.