Class DeskManagementBot
java.lang.Object
com.flowable.engage.engine.impl.desk.bot.DeskManagementBot
- All Implemented Interfaces:
BotService
A service bot managing desk and ticket conversations.
- Author:
- Micha Kiener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConversationPermissionService
protected final ConversationService
protected final DeskService
protected final PlatformIdentityService
protected final MessageService
protected final UserDefinitionService
-
Constructor Summary
ConstructorsConstructorDescriptionDeskManagementBot
(ConversationService conversationService, ConversationPermissionService conversationPermissionService, MessageService messageService, PlatformIdentityService identityService, UserDefinitionService userDefinitionService, DeskService deskService) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
getName()
protected void
protected void
handleCreateNewTicketAction
(String conversationId, String currentUserId, Map<String, Object> payload) protected void
handleRemoveDeskMemberFromTicketAction
(String conversationId, String currentUserId, Map<String, Object> payload) invokeBot
(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.action.api.bot.BotService
invokeBot
-
Field Details
-
conversationService
-
conversationPermissionService
-
messageService
-
identityService
-
userDefinitionService
-
deskService
-
-
Constructor Details
-
DeskManagementBot
public DeskManagementBot(ConversationService conversationService, ConversationPermissionService conversationPermissionService, MessageService messageService, PlatformIdentityService identityService, UserDefinitionService userDefinitionService, DeskService deskService)
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceBotService
-
getName
- Specified by:
getName
in interfaceBotService
-
getDescription
- Specified by:
getDescription
in interfaceBotService
-
invokeBot
public BotActionResult invokeBot(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) - Specified by:
invokeBot
in interfaceBotService
-
handleCreateNewTicketAction
-
handleAssignTicketAction
-
handleRemoveDeskMemberFromTicketAction
-