Class ChineseAddressPrepareInterceptor
java.lang.Object
de.hybris.platform.addressservices.interceptors.ChineseAddressPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<AddressModel>
public class ChineseAddressPrepareInterceptor
extends Object
implements PrepareInterceptor<AddressModel>
Interceptor to set address.town with Chinese city name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(AddressModel address, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ChineseAddressPrepareInterceptor
public ChineseAddressPrepareInterceptor()
-
-
Method Details
-
onPrepare
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
-