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