Class AdvancedShippingNoticePrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.warehousing.interceptor.AdvancedShippingNoticePrepareInterceptor
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor<AdvancedShippingNoticeModel>
public class AdvancedShippingNoticePrepareInterceptor extends java.lang.Object implements PrepareInterceptor<AdvancedShippingNoticeModel>
-
-
Constructor Summary
Constructors Constructor Description AdvancedShippingNoticePrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyGenerator
getKeyGenerator()
void
onPrepare(AdvancedShippingNoticeModel advancedShippingNotice, InterceptorContext context)
Called in themodelService.saveAll()
method.void
setKeyGenerator(KeyGenerator keyGenerator)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(AdvancedShippingNoticeModel advancedShippingNotice, InterceptorContext context) throws InterceptorException
Description copied from interface:PrepareInterceptor
Called in themodelService.saveAll()
method. Prepares the values of the given model.- Specified by:
onPrepare
in interfacePrepareInterceptor<AdvancedShippingNoticeModel>
- Parameters:
advancedShippingNotice
- the model which values has to be preparedcontext
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
getKeyGenerator
protected KeyGenerator getKeyGenerator()
-
setKeyGenerator
public void setKeyGenerator(KeyGenerator keyGenerator)
-
-