Class B2BBudgetModelValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.b2b.interceptor.B2BBudgetModelValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class B2BBudgetModelValidateInterceptor extends java.lang.Object implements ValidateInterceptor
This interceptor ensures that all new B2B Customers are associated with a B2BUnitB2BBudgetModel,B2BBudgetModel
-
-
Constructor Summary
Constructors Constructor Description B2BBudgetModelValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L10NServicegetL10NService()voidonValidate(java.lang.Object model, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetL10NService(L10NService l10NService)
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getL10NService
public L10NService getL10NService()
-
setL10NService
public void setL10NService(L10NService l10NService)
-
-