Class TestAddressModelValidateInterceptor
java.lang.Object
de.hybris.platform.impex.jalo.imp.TestAddressModelValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonValidate(Object addressModel, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetUpForTest(String uidToGetActiveFor) boolean
-
Constructor Details
-
TestAddressModelValidateInterceptor
public TestAddressModelValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
addressModel- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getUidToGetActiveFor
-
wasExceptionThrown
public boolean wasExceptionThrown() -
setUpForTest
-
deactivate
public void deactivate()
-