Class ExposedDestinationICCMatchedCredentialValidateInterceptor
java.lang.Object
de.hybris.platform.inboundservices.interceptor.ExposedDestinationICCMatchedCredentialValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ExposedDestinationModel>
public class ExposedDestinationICCMatchedCredentialValidateInterceptor
extends Object
implements ValidateInterceptor<ExposedDestinationModel>
Interceptor to validate the ExposedDestination credential
ExposedDestinationModel
type matches the assigned InboundChannelConfiguration credential type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ExposedDestinationModel exposedDestinationModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
ExposedDestinationICCMatchedCredentialValidateInterceptor
public ExposedDestinationICCMatchedCredentialValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(ExposedDestinationModel exposedDestinationModel, InterceptorContext interceptorContext) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ExposedDestinationModel>- Parameters:
exposedDestinationModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-