public interface TicketEventStrategy
| Modifier and Type | Method and Description |
|---|---|
CsTicketEventModel |
createAssignAgentToTicket(CsTicketModel ticket)
Create a creation event for the specified ticket TO THE CS Agent.
|
CsCustomerEventModel |
createCreationEventForTicket(CsTicketModel ticket,
CsEventReason reason,
CsInterventionType interventionType,
java.lang.String text)
Create a creation event for the specified ticket.
|
CsCustomerEventModel |
createCustomerEmailForTicket(CsTicketModel ticket,
CsEventReason reason,
java.lang.String subject,
java.lang.String emailBody,
java.util.Collection<MediaModel> attachments)
Create a note against the ticket which is sent as an email to the customer the ticket relates to
|
CsCustomerEventModel |
createNoteForTicket(CsTicketModel ticket,
CsInterventionType intervention,
CsEventReason reason,
java.lang.String note,
java.util.Collection<MediaModel> attachments)
Create and internal note against the ticket with the specified information
|
CsCustomerEventModel |
ensureTicketEventSetupForCreationEvent(CsTicketModel ticket,
CsCustomerEventModel creationEvent)
Ensure that the specified creation event is correctly setup and bound to the ticket.
|
CsCustomerEventModel createNoteForTicket(CsTicketModel ticket, CsInterventionType intervention, CsEventReason reason, java.lang.String note, java.util.Collection<MediaModel> attachments)
ticket - The ticket to create the note forintervention - The intervention type of the notereason - The reason for the note's creationnote - The text of the noteattachments - Any attachments which should be added to the noteCsCustomerEventModel createCustomerEmailForTicket(CsTicketModel ticket, CsEventReason reason, java.lang.String subject, java.lang.String emailBody, java.util.Collection<MediaModel> attachments)
ticket - The ticket to create the note email forreason - The reason for the emailsubject - The subject of the emailemailBody - The body of the emailattachments - Any attachments should be included with the emailCsCustomerEventModel createCreationEventForTicket(CsTicketModel ticket, CsEventReason reason, CsInterventionType interventionType, java.lang.String text)
ticket - The ticket to create the creation event forreason - The reson for the ticket eventinterventionType - The intervention type for the ticket eventtext - The text to add to the creation eventCsCustomerEventModel ensureTicketEventSetupForCreationEvent(CsTicketModel ticket, CsCustomerEventModel creationEvent)
ticket - The ticket the creation event is forcreationEvent - The creation eventCsTicketEventModel createAssignAgentToTicket(CsTicketModel ticket)
ticket - The ticket the creation event is forCopyright © 2018 SAP SE. All Rights Reserved.