Class PreviewTicketPrepareInterceptor
java.lang.Object
de.hybris.platform.catalog.interceptors.PreviewTicketPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<PreviewTicketModel>
public class PreviewTicketPrepareInterceptor
extends Object
implements PrepareInterceptor<PreviewTicketModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(PreviewTicketModel previewTicket, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetUserService(UserService userService)
-
Constructor Details
-
PreviewTicketPrepareInterceptor
public PreviewTicketPrepareInterceptor()
-
-
Method Details
-
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
-