Class ConsignmentPrepareInterceptor
java.lang.Object
de.hybris.platform.consignmenttrackingservices.interceptor.ConsignmentPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ConsignmentModel>
public class ConsignmentPrepareInterceptor
extends Object
implements PrepareInterceptor<ConsignmentModel>
An implementation of
PrepareInterceptor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(ConsignmentModel consignment, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ConsignmentPrepareInterceptor
public ConsignmentPrepareInterceptor()
-
-
Method Details
-
onPrepare
public void onPrepare(ConsignmentModel consignment, InterceptorContext ctx) throws InterceptorException Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<ConsignmentModel>- Parameters:
consignment- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-