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