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 Classes Modifier and Type Interface Description static interface
CloseOperationBuilder.WithChat
static interface
CloseOperationBuilder.WithTicket
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseOperationBuilder.WithChat
chat(Chat chat)
CloseOperationBuilder.WithChat
chat(java.lang.Long chatId)
CloseOperationBuilder.WithTicket
ticket(Ticket ticket)
CloseOperationBuilder.WithTicket
ticket(java.lang.Long ticketId)
-
-
-
Method Detail
-
ticket
CloseOperationBuilder.WithTicket ticket(java.lang.Long ticketId) throws ValidationException
- 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
CloseOperationBuilder.WithTicket ticket(Ticket ticket) throws ValidationException
- Parameters:
ticket
- the ticket to be closed.- Returns:
- the CloseOperationBuilder.WithTicket
- Throws:
ValidationException
- if the ticket is invalid.- Since:
- 11.28
-
chat
CloseOperationBuilder.WithChat chat(java.lang.Long chatId) throws ValidationException
- 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
CloseOperationBuilder.WithChat chat(Chat chat) throws ValidationException
- Parameters:
chat
- the chat to be closed.- Returns:
- the CloseOperationBuilder.WithChat
- Throws:
ValidationException
- if the chat is invalid.- Since:
- 12.23
-
-