Class GigyaConfigValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.gigya.gigyaservices.interceptor.GigyaConfigValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<GigyaConfigModel>
public class GigyaConfigValidateInterceptor extends java.lang.Object implements ValidateInterceptor<GigyaConfigModel>
Validates mandatory information of gigya config exists
-
-
Constructor Summary
Constructors Constructor Description GigyaConfigValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(GigyaConfigModel gigyaConfig, InterceptorContext context)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(GigyaConfigModel gigyaConfig, InterceptorContext context) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<GigyaConfigModel>- Parameters:
gigyaConfig- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-