Class HTTPDestinationValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.sap.core.configuration.http.validation.HTTPDestinationValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<SAPHTTPDestinationModel>
public class HTTPDestinationValidateInterceptor extends java.lang.Object implements ValidateInterceptor<SAPHTTPDestinationModel>
Perform validation of HTTPDestination model.
-
-
Constructor Summary
Constructors Constructor Description HTTPDestinationValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(SAPHTTPDestinationModel sapHTTPDestinationModel, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(SAPHTTPDestinationModel sapHTTPDestinationModel, InterceptorContext ctx) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<SAPHTTPDestinationModel>- Parameters:
sapHTTPDestinationModel- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-