Package de.hybris.platform.impex.jalo
Class PLA_12491_Test_Interceptor
java.lang.Object
de.hybris.platform.impex.jalo.PLA_12491_Test_Interceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<TitleModel>
For
PLA_12491_Test.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonValidate(TitleModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidreset()voidsetUpForTest(String codeToThrowErrorOn)
-
Constructor Details
-
PLA_12491_Test_Interceptor
public PLA_12491_Test_Interceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<TitleModel>- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setUpForTest
-
errorWasThrown
public boolean errorWasThrown() -
reset
public void reset()
-