Class CsCustomerEventPrepareInterceptor
java.lang.Object
de.hybris.platform.ticket.interceptors.CsCustomerEventPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
The interceptor sets proper
AbstractCommentModel.SUBJECT for the purpose of AuditReport-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanSubjectBePopulated(CsCustomerEventModel event, CsTicketModel ticket) protected TicketServicevoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTicketService(TicketService ticketService)
-
Constructor Details
-
CsCustomerEventPrepareInterceptor
public CsCustomerEventPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled 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
-
canSubjectBePopulated
-
getTicketService
-
setTicketService
-