Interface CloseOperationBuilder
public interface CloseOperationBuilder
The CloseOperationBuilder provides specific builders to build a close
operation on a ticket or chat.
Please note that plugins running in the novomind iAGENT mail agent process
will not be called, e.g. AgentTicketActionValidator and
AgentChatActionValidator plugins cannot prevent tickets and chats from being
closed.
- Since:
- 11.28
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder stage that holds the selected chat.static interfaceBuilder stage that holds the selected ticket. -
Method Summary
Modifier and TypeMethodDescriptionSets the chat to be closed.Sets the chat to be closed by its id.Sets the ticket to be closed.Sets the ticket to be closed by its id.
-
Method Details
-
ticket
Sets the ticket to be closed by its id.- Parameters:
ticketId- the ticketId of the ticket to be closed.- Returns:
- the CloseOperationBuilder.WithTicket
- Throws:
ValidationException- if the ticketId is invalid.- Since:
- 11.28
-
ticket
Sets the ticket to be closed.- Parameters:
ticket- the ticket to be closed.- Returns:
- the CloseOperationBuilder.WithTicket
- Throws:
ValidationException- if the ticket is invalid.- Since:
- 11.28
-
chat
Sets the chat to be closed by its id.- Parameters:
chatId- the chatId of the chat to be closed.- Returns:
- the CloseOperationBuilder.WithChat
- Throws:
ValidationException- if the chatId is invalid.- Since:
- 12.23
-
chat
Sets the chat to be closed.- Parameters:
chat- the chat to be closed.- Returns:
- the CloseOperationBuilder.WithChat
- Throws:
ValidationException- if the chat is invalid.- Since:
- 12.23
-