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