Class EnumerationPrepareInterceptor
java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.EnumerationPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Interceptor, which makes some additional operations on Enumeration values, which are being created. E.g. generates a
sequence number if required.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetTypeService(TypeService typeService)
-
Constructor Details
-
EnumerationPrepareInterceptor
public EnumerationPrepareInterceptor()
-
-
Method Details
-
setTypeService
-
setFlexibleSearchService
-
onPrepare
Called in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-