Class GigyaUserValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.gigya.gigyaservices.interceptor.GigyaUserValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<CustomerModel>
public class GigyaUserValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CustomerModel>
Validates mandatory gigya information exists in model
-
-
Constructor Summary
Constructors Constructor Description GigyaUserValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GigyaLoginServicegetGigyaLoginService()UserServicegetUserService()voidonValidate(CustomerModel gigyaUser, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.voidsetGigyaLoginService(GigyaLoginService gigyaLoginService)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
onValidate
public void onValidate(CustomerModel gigyaUser, InterceptorContext interceptorContext) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<CustomerModel>- Parameters:
gigyaUser- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getUserService
public UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getGigyaLoginService
public GigyaLoginService getGigyaLoginService()
-
setGigyaLoginService
public void setGigyaLoginService(GigyaLoginService gigyaLoginService)
-
-