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