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