Interface ExternalConversationService

All Known Implementing Classes:
ExternalConversationServiceImpl

public interface ExternalConversationService
Author:
Filip Hrisafov
  • Method Summary

    Modifier and Type Method Description
    ExternalConversationSystemAdapter getExternalSystemAdapter​(java.lang.String externalSystemId)  
    void sendMessage​(java.lang.String recipientAccountId, java.lang.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.
  • Method Details

    • sendMessage

      void sendMessage​(java.lang.String recipientAccountId, java.lang.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 message
      messageId - the id of the message that needs to be send
    • validateMessage

      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.
      Parameters:
      recipientAccount - the recipient account that should received the message
      message - the message that should be validated
    • getExternalSystemAdapter

      ExternalConversationSystemAdapter getExternalSystemAdapter​(java.lang.String externalSystemId)