Class IntegrationClientCredentialsUserValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.inboundservices.interceptor.IntegrationClientCredentialsUserValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
public class IntegrationClientCredentialsUserValidateInterceptor extends java.lang.Object implements ValidateInterceptor<IntegrationClientCredentialsDetailsModel>
An interceptor that validatesIntegrationClientCredentialsDetailsModel's user is not assigned to the admin user.
-
-
Constructor Summary
Constructors Constructor Description IntegrationClientCredentialsUserValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(IntegrationClientCredentialsDetailsModel integrationClientCredentialsDetailsModel, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(IntegrationClientCredentialsDetailsModel integrationClientCredentialsDetailsModel, InterceptorContext interceptorContext) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationClientCredentialsDetailsModel>- Parameters:
integrationClientCredentialsDetailsModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-