public class DefaultSapRevenueCloudCustomerValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
| Constructor and Description |
|---|
DefaultSapRevenueCloudCustomerValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getChangeAttributesList() |
protected SAPRevenueCloudConfigurationModel |
getRevenueCloudConfiguration() |
GenericDao |
getSapRevenueCloudConfigurationModelGenericDao() |
SapRevenueCloudCustomerOutboundService |
getSapRevenueCloudCustomerOutboundService() |
void |
onValidate(CustomerModel customerModel,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setSapRevenueCloudConfigurationModelGenericDao(GenericDao sapRevenueCloudConfigurationModelGenericDao) |
void |
setSapRevenueCloudCustomerOutboundService(SapRevenueCloudCustomerOutboundService sapRevenueCloudCustomerOutboundService) |
protected boolean |
shouldReplicate(CustomerModel customerModel,
InterceptorContext ctx) |
public DefaultSapRevenueCloudCustomerValidateInterceptor()
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.protected boolean shouldReplicate(CustomerModel customerModel, InterceptorContext ctx)
protected java.util.List<java.lang.String> getChangeAttributesList()
protected SAPRevenueCloudConfigurationModel getRevenueCloudConfiguration()
public GenericDao getSapRevenueCloudConfigurationModelGenericDao()
public void setSapRevenueCloudConfigurationModelGenericDao(GenericDao sapRevenueCloudConfigurationModelGenericDao)
sapRevenueCloudConfigurationModelGenericDao - the sapRevenueCloudConfigurationModelGenericDao to setpublic SapRevenueCloudCustomerOutboundService getSapRevenueCloudCustomerOutboundService()
public void setSapRevenueCloudCustomerOutboundService(SapRevenueCloudCustomerOutboundService sapRevenueCloudCustomerOutboundService)
sapRevenueCloudCustomerOutboundService - the sapRevenueCloudCustomerOutboundService to setCopyright © 2018 SAP SE. All Rights Reserved.