Class ExposedDestinationIntegrationAPIValidateInterceptor
java.lang.Object
de.hybris.platform.inboundservices.interceptor.ExposedDestinationIntegrationAPIValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ExposedDestinationModel>
public class ExposedDestinationIntegrationAPIValidateInterceptor
extends Object
implements ValidateInterceptor<ExposedDestinationModel>
Interceptor to validate no duplicate Integration API exposed in DestinationTarget
DestinationTargetModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ExposedDestinationModel exposedDestinationModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
ExposedDestinationIntegrationAPIValidateInterceptor
public ExposedDestinationIntegrationAPIValidateInterceptor()
-
-
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.
-