Interface ExternalConversationService
-
- All Known Implementing Classes:
ExternalConversationServiceImpl
public interface ExternalConversationService
- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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(UserAccount recipientAccount, Message message)
Invoked byb the engagement system to validate the message that should be sent to the external user account.
-
-
-
Method Detail
-
sendMessage
void sendMessage(String recipientAccountId, String messageId)
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
void validateMessage(UserAccount recipientAccount, Message message)
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
ExternalConversationSystemAdapter getExternalSystemAdapter(String externalSystemId)
-
-