public class ExternalConversationServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration> implements ExternalConversationService
| Constructor and Description |
|---|
ExternalConversationServiceImpl(EngageEngineConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected ExternalConversationSystemAdapter |
getAdapter(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
String externalSystemId) |
ExternalConversationSystemAdapter |
getExternalSystemAdapter(String externalSystemId) |
void |
sendMessage(String recipientAccountId,
String messageId)
Invoked by the engagement system to send a message to an external user account.
|
void |
validateMessage(com.flowable.core.idm.api.UserAccount recipientAccount,
Message message)
Invoked byb the engagement system to validate the message that should be sent to the external user account.
|
getCommandExecutor, setCommandExecutorpublic ExternalConversationServiceImpl(EngageEngineConfiguration configuration)
public void sendMessage(String recipientAccountId, String messageId)
ExternalConversationServicesendMessage in interface ExternalConversationServicerecipientAccountId - the recipient account id that needs to receive the messagemessageId - the id of the message that needs to be sendpublic void validateMessage(com.flowable.core.idm.api.UserAccount recipientAccount,
Message message)
ExternalConversationServicevalidateMessage in interface ExternalConversationServicerecipientAccount - the recipient account that should received the messagemessage - the message that should be validatedpublic ExternalConversationSystemAdapter getExternalSystemAdapter(String externalSystemId)
getExternalSystemAdapter in interface ExternalConversationServiceprotected ExternalConversationSystemAdapter getAdapter(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String externalSystemId)
Copyright © 2019. All rights reserved.