public interface TicketResolutionStrategy
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CsTicketState> |
filterTicketStatesToRemovedClosedStates(java.util.List<CsTicketState> states)
Filter a given list of ticket states to remove any which represent a resolved state and should only be used by the
ticket resolution strategies.
|
boolean |
isTicketClosed(CsTicketModel ticket)
Find out if a ticket is considered 'closed'.
|
boolean |
isTicketResolvable(CsTicketModel ticket)
Find out whether a ticket is resolvable.
|
CsTicketResolutionEventModel |
resolveTicket(CsTicketModel ticket,
CsInterventionType intervention,
CsResolutionType resolutionType,
java.lang.String note)
Create a resolution event against a ticket and associate it with the ticket.
|
CsTicketResolutionEventModel |
resolveTicket(CsTicketModel ticket,
CsInterventionType intervention,
CsResolutionType resolutionType,
java.lang.String note,
java.util.Collection<MediaModel> attachments)
Create a resolution event against a ticket and associate it with the ticket.
|
CsCustomerEventModel |
unResolveTicket(CsTicketModel ticket,
CsInterventionType intervention,
CsEventReason reason,
java.lang.String note)
Remove the resolution event from the ticket (although keep in in the list of events) and add a note to a ticket to
indicate that it is no longer resolved.
|
CsCustomerEventModel |
unResolveTicket(CsTicketModel ticket,
CsInterventionType intervention,
CsEventReason reason,
java.lang.String note,
java.util.Collection<MediaModel> attachments)
Remove the resolution event from the ticket (although keep in in the list of events) and add a note to a ticket to
indicate that it is no longer resolved.
|
CsTicketResolutionEventModel resolveTicket(CsTicketModel ticket, CsInterventionType intervention, CsResolutionType resolutionType, java.lang.String note) throws TicketException
ticket - The ticket to mark as resolvedintervention - The intervention of the resolutionresolutionType - The type of the resolutionnote - The text note to add agsint the resolutionTicketExceptionCsTicketResolutionEventModel resolveTicket(CsTicketModel ticket, CsInterventionType intervention, CsResolutionType resolutionType, java.lang.String note, java.util.Collection<MediaModel> attachments) throws TicketException
ticket - The ticket to mark as resolvedintervention - The intervention of the resolutionresolutionType - The type of the resolutionnote - The text note to add agsint the resolutionTicketExceptionCsCustomerEventModel unResolveTicket(CsTicketModel ticket, CsInterventionType intervention, CsEventReason reason, java.lang.String note) throws TicketException
ticket - The ticket to un-resolveintervention - The intervention that caused the ticket's resolution to be removedreason - The reason for unresolving the ticketnote - The note to add when the ticket is unresolved.TicketExceptionCsCustomerEventModel unResolveTicket(CsTicketModel ticket, CsInterventionType intervention, CsEventReason reason, java.lang.String note, java.util.Collection<MediaModel> attachments) throws TicketException
ticket - The ticket to un-resolveintervention - The intervention that caused the ticket's resolution to be removedreason - The reason for unresolving the ticketnote - The note to add when the ticket is unresolved.attachments - TicketExceptionboolean isTicketClosed(CsTicketModel ticket)
ticket - The ticket to checkboolean isTicketResolvable(CsTicketModel ticket)
ticket - The ticket to checkjava.util.List<CsTicketState> filterTicketStatesToRemovedClosedStates(java.util.List<CsTicketState> states)
states - The states to filterCopyright © 2018 SAP SE. All Rights Reserved.