public class DeskServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration> implements DeskService
| Modifier and Type | Field and Description | 
|---|---|
| protected String | digitalAssistantUserIdThe user id of the digital assistant used in ticket and desk conversations, defaults to the digital assistant user, if not changed. | 
| Constructor and Description | 
|---|
| DeskServiceImpl(EngageEngineConfiguration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.flowable.common.engine.impl.interceptor.CommandContext | getCommandContext() | 
| String | getDigitalAssistantUserId() | 
| void | handleUnassignedTicketMessage(String deskConversationId,
                             String ticketConversationId,
                             Message message) | 
| void | initializeDeskConversation(String deskConversationId)Invoked by the generic conversation listener to initialize the given desk conversation. | 
| void | initializeTicketConversation(String deskConversationId,
                            String ticketConversationId)Invoked by the generic conversation listener to initialize the given ticket conversation. | 
| void | setDigitalAssistantUserId(String digitalAssistantUserId) | 
| Conversation | startTicketConversation(String deskConversationId,
                       Collection<String> participantIds,
                       String name,
                       Map<String,Object> variables,
                       String userIdForPermissionChecks)Starts a new ticket conversation as part of a desk. | 
| void | switchToDeskTeam(String deskConversationId,
                String ticketConversationId,
                boolean isNewTicket) | 
| void | switchToDeskTeamMember(String deskConversationId,
                      String ticketConversationId,
                      String deskMemberId,
                      boolean isNewTicket) | 
getCommandExecutor, setCommandExecutorprotected String digitalAssistantUserId
public DeskServiceImpl(EngageEngineConfiguration configuration)
public Conversation startTicketConversation(String deskConversationId, Collection<String> participantIds, String name, Map<String,Object> variables, String userIdForPermissionChecks)
DeskServicestartTicketConversation in interface DeskServicedeskConversationId - the id of the desk conversation where a new ticket should be started forparticipantIds - the collection of participants for the ticketname - the name of the ticket, must be providedvariables - the optional map of additional ticket informationuserIdForPermissionChecks - optionally pass in a user id to check for permissions, if not provided, no permission check is donepublic void initializeDeskConversation(String deskConversationId)
DeskServiceinitializeDeskConversation in interface DeskServicedeskConversationId - the id of the desk conversation newly created and in need for initializationpublic void initializeTicketConversation(String deskConversationId, String ticketConversationId)
DeskServiceinitializeTicketConversation in interface DeskServicedeskConversationId - the id of the desk conversation the ticket belongs toticketConversationId - the id of the ticket conversation newly created and in need for initializationpublic void switchToDeskTeam(String deskConversationId, String ticketConversationId, boolean isNewTicket)
switchToDeskTeam in interface DeskServicepublic void switchToDeskTeamMember(String deskConversationId, String ticketConversationId, String deskMemberId, boolean isNewTicket)
switchToDeskTeamMember in interface DeskServicepublic void handleUnassignedTicketMessage(String deskConversationId, String ticketConversationId, Message message)
handleUnassignedTicketMessage in interface DeskServicepublic String getDigitalAssistantUserId()
getDigitalAssistantUserId in interface DeskServicepublic void setDigitalAssistantUserId(String digitalAssistantUserId)
protected org.flowable.common.engine.impl.interceptor.CommandContext getCommandContext()
Copyright © 2019. All rights reserved.