org.hibersap.validation
Class BeanValidationInterceptor

java.lang.Object
  extended by org.hibersap.validation.BeanValidationInterceptor
All Implemented Interfaces:
BapiInterceptor

public class BeanValidationInterceptor
extends Object
implements BapiInterceptor


Constructor Summary
BeanValidationInterceptor(javax.validation.ValidatorFactory validatorFactory)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidationInterceptor

public BeanValidationInterceptor(javax.validation.ValidatorFactory validatorFactory)
Method Detail

beforeExecution

public void beforeExecution(Object bapiObject)
                     throws javax.validation.ConstraintViolationException
Description copied from interface: BapiInterceptor
Will be called before the function module is called in SAP.

Specified by:
beforeExecution in interface BapiInterceptor
Parameters:
bapiObject - The Bapi object as provided by the application code.
Throws:
javax.validation.ConstraintViolationException

afterExecution

public void afterExecution(Object bapiObject)
Description copied from interface: BapiInterceptor
Will be called after the function module is called in SAP.

Specified by:
afterExecution in interface BapiInterceptor
Parameters:
bapiObject - The Bapi object as provided by the application code.


Copyright © 2011 akquinet tech@spree GmbH. All Rights Reserved.