public class BeanValidationInterceptor extends Object implements BapiInterceptor
| Constructor and Description |
|---|
BeanValidationInterceptor(javax.validation.ValidatorFactory validatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecution(Object bapiObject)
Will be called after the function module is called in SAP.
|
void |
beforeExecution(Object bapiObject)
Will be called before the function module is called in SAP.
|
public BeanValidationInterceptor(javax.validation.ValidatorFactory validatorFactory)
public void beforeExecution(Object bapiObject) throws javax.validation.ConstraintViolationException
BapiInterceptorbeforeExecution in interface BapiInterceptorbapiObject - The Bapi object as provided by the application code.javax.validation.ConstraintViolationExceptionpublic void afterExecution(Object bapiObject)
BapiInterceptorafterExecution in interface BapiInterceptorbapiObject - The Bapi object as provided by the application code.Copyright © 2017 akquinet tech@spree GmbH. All Rights Reserved.