Class ViewTypePrepareInterceptor
java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.ViewTypePrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ViewTypeModel>
Adds to the ViewType model for the attribute supertype the composedTypeModel ItemModel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(ViewTypeModel viewType, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
Constructor Details
-
ViewTypePrepareInterceptor
public ViewTypePrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<ViewTypeModel>- Parameters:
viewType- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setTypeService
-