Class RootExistsValidator
- java.lang.Object
-
- de.hybris.platform.integrationservices.validator.RootExistsValidator
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectModel>
public class RootExistsValidator extends java.lang.Object implements ValidateInterceptor<IntegrationObjectModel>
Verify theIntegrationObjectModelcontains a root item. If non exists, a warning is logged. Because of backwards compatibility, no exception is thrown when a root does not exist.
-
-
Constructor Summary
Constructors Constructor Description RootExistsValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(IntegrationObjectModel integrationObjectModel, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(IntegrationObjectModel integrationObjectModel, InterceptorContext interceptorContext)
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationObjectModel>- Parameters:
integrationObjectModel- the model which values has to be validatedinterceptorContext- theInterceptorContext
-
-