Class ScriptValidateInterceptor
java.lang.Object
de.hybris.platform.scripting.interceptors.ScriptValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ScriptModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ScriptModel scriptModel, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ScriptValidateInterceptor
public ScriptValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ScriptModel>- Parameters:
scriptModel- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-