public class DeskManagementBot extends Object implements com.flowable.action.api.bot.BotService
Modifier and Type | Field and Description |
---|---|
protected ConversationPermissionService |
conversationPermissionService |
protected ConversationService |
conversationService |
protected DeskService |
deskService |
protected com.flowable.core.idm.api.PlatformIdentityService |
identityService |
protected MessageService |
messageService |
protected com.flowable.core.idm.api.UserDefinitionService |
userDefinitionService |
Constructor and Description |
---|
DeskManagementBot(ConversationService conversationService,
ConversationPermissionService conversationPermissionService,
MessageService messageService,
com.flowable.core.idm.api.PlatformIdentityService identityService,
com.flowable.core.idm.api.UserDefinitionService userDefinitionService,
DeskService deskService) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getKey() |
String |
getName() |
protected void |
handleAssignTicketAction(String conversationId,
String currentUserId,
Map<String,Object> payload) |
protected void |
handleCreateNewTicketAction(String conversationId,
String currentUserId,
Map<String,Object> payload) |
protected void |
handleRemoveDeskMemberFromTicketAction(String conversationId,
String currentUserId,
Map<String,Object> payload) |
com.flowable.action.api.bot.BotActionResult |
invokeBot(com.flowable.action.api.history.HistoricActionInstance actionInstance,
com.flowable.action.api.repository.ActionDefinition actionDefinition,
Map<String,Object> payload) |
protected final ConversationService conversationService
protected final ConversationPermissionService conversationPermissionService
protected final MessageService messageService
protected final com.flowable.core.idm.api.PlatformIdentityService identityService
protected final com.flowable.core.idm.api.UserDefinitionService userDefinitionService
protected final DeskService deskService
public DeskManagementBot(ConversationService conversationService, ConversationPermissionService conversationPermissionService, MessageService messageService, com.flowable.core.idm.api.PlatformIdentityService identityService, com.flowable.core.idm.api.UserDefinitionService userDefinitionService, DeskService deskService)
public String getKey()
getKey
in interface com.flowable.action.api.bot.BotService
public String getName()
getName
in interface com.flowable.action.api.bot.BotService
public String getDescription()
getDescription
in interface com.flowable.action.api.bot.BotService
public com.flowable.action.api.bot.BotActionResult invokeBot(com.flowable.action.api.history.HistoricActionInstance actionInstance, com.flowable.action.api.repository.ActionDefinition actionDefinition, Map<String,Object> payload)
invokeBot
in interface com.flowable.action.api.bot.BotService
protected void handleCreateNewTicketAction(String conversationId, String currentUserId, Map<String,Object> payload)
protected void handleAssignTicketAction(String conversationId, String currentUserId, Map<String,Object> payload)
Copyright © 2019. All rights reserved.