Class ViewTypePrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.servicelayer.interceptor.impl.ViewTypePrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ViewTypeModel>
public class ViewTypePrepareInterceptor extends java.lang.Object implements PrepareInterceptor<ViewTypeModel>
Adds to the ViewType model for the attribute supertype the composedTypeModel ItemModel.
-
-
Constructor Summary
Constructors Constructor Description ViewTypePrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(ViewTypeModel viewType, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(ViewTypeModel viewType, InterceptorContext ctx) throws InterceptorException
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
public void setTypeService(TypeService typeService)
-
-