Interface ExternalConversationService
- All Known Implementing Classes:
ExternalConversationServiceImpl
public interface ExternalConversationService
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptiongetExternalSystemAdapter
(String externalSystemId) void
sendMessage
(String recipientAccountId, String messageId) Invoked by the engagement system to send a message to an external user account.void
validateMessage
(UserAccount recipientAccount, Message message) Invoked byb the engagement system to validate the message that should be sent to the external user account.
-
Method Details
-
sendMessage
Invoked by the engagement system to send a message to an external user account.- Parameters:
recipientAccountId
- the recipient account id that needs to receive the messagemessageId
- the id of the message that needs to be send
-
validateMessage
Invoked byb the engagement system to validate the message that should be sent to the external user account.- Parameters:
recipientAccount
- the recipient account that should received the messagemessage
- the message that should be validated
-
getExternalSystemAdapter
-