Class SAPGlobalConfigurationPrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.sap.core.configuration.global.interceptor.SAPGlobalConfigurationPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<SAPGlobalConfigurationModel>
public class SAPGlobalConfigurationPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<SAPGlobalConfigurationModel>
Perform preparation of SAPGlobalConfiguration model before save.
-
-
Constructor Summary
Constructors Constructor Description SAPGlobalConfigurationPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(SAPGlobalConfigurationModel sapGlobalConfiguration, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(SAPGlobalConfigurationModel sapGlobalConfiguration, InterceptorContext interceptorContext) throws InterceptorException
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<SAPGlobalConfigurationModel>- Parameters:
sapGlobalConfiguration- the model which values has to be preparedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
-