Class AgreementPrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.catalog.interceptors.AgreementPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor<AgreementModel>
public class AgreementPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<AgreementModel>
-
-
Constructor Summary
Constructors Constructor Description AgreementPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPrepare(AgreementModel agreement, InterceptorContext ctx)
Called in themodelService.saveAll()
method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(AgreementModel agreement, InterceptorContext ctx) throws InterceptorException
Description copied from interface:PrepareInterceptor
Called in themodelService.saveAll()
method. Prepares the values of the given model.- Specified by:
onPrepare
in interfacePrepareInterceptor<AgreementModel>
- Parameters:
agreement
- the model which values has to be preparedctx
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
-