public class CsCustomerEventPrepareInterceptor extends java.lang.Object implements PrepareInterceptor
AbstractCommentModel.SUBJECT for the purpose of AuditReport| Constructor and Description |
|---|
CsCustomerEventPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canSubjectBePopulated(CsCustomerEventModel event,
CsTicketModel ticket) |
protected TicketService |
getTicketService() |
void |
onPrepare(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setTicketService(TicketService ticketService) |
public void onPrepare(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationprotected boolean canSubjectBePopulated(CsCustomerEventModel event, CsTicketModel ticket)
protected TicketService getTicketService()
public void setTicketService(TicketService ticketService)
Copyright © 2018 SAP SE. All Rights Reserved.