Class ExternalConversationServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration>
com.flowable.engage.engine.impl.conversation.ExternalConversationServiceImpl
- All Implemented Interfaces:
ExternalConversationService
public class ExternalConversationServiceImpl
extends CommonEngineServiceImpl<EngageEngineConfiguration>
implements ExternalConversationService
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExternalConversationSystemAdaptergetAdapter(CommandContext commandContext, String externalSystemId) getExternalSystemAdapter(String externalSystemId) voidsendMessage(String recipientAccountId, String messageId) Invoked by the engagement system to send a message to an external user account.voidvalidateMessage(UserAccount recipientAccount, Message message) Invoked byb the engagement system to validate the message that should be sent to the external user account.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ExternalConversationServiceImpl
-
-
Method Details
-
sendMessage
Description copied from interface:ExternalConversationServiceInvoked by the engagement system to send a message to an external user account.- Specified by:
sendMessagein interfaceExternalConversationService- Parameters:
recipientAccountId- the recipient account id that needs to receive the messagemessageId- the id of the message that needs to be send
-
validateMessage
Description copied from interface:ExternalConversationServiceInvoked byb the engagement system to validate the message that should be sent to the external user account.- Specified by:
validateMessagein interfaceExternalConversationService- Parameters:
recipientAccount- the recipient account that should received the messagemessage- the message that should be validated
-
getExternalSystemAdapter
- Specified by:
getExternalSystemAdapterin interfaceExternalConversationService
-
getAdapter
protected ExternalConversationSystemAdapter getAdapter(CommandContext commandContext, String externalSystemId)
-