Class B2BCostCenterModelValidateInterceptor
java.lang.Object
de.hybris.platform.b2b.interceptor.B2BCostCenterModelValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
This interceptor ensures that all new B2B Customers are associated with a B2BUnit
B2BCostCenterModel,
B2BCostCenterModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetL10NService(L10NService l10NService)
-
Constructor Details
-
B2BCostCenterModelValidateInterceptor
public B2BCostCenterModelValidateInterceptor()
-
-
Method Details
-
onValidate
Description 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
-
setL10NService
-