Class InboundUnsupportedMessageServiceImpl
- java.lang.Object
-
- com.flowable.engage.external.system.service.InboundUnsupportedMessageServiceImpl
-
- All Implemented Interfaces:
InboundUnsupportedMessageService
public class InboundUnsupportedMessageServiceImpl extends Object implements InboundUnsupportedMessageService
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected ExternalConversationService
externalConversationService
static String
FALLBACK_LANGUAGE
protected PlatformIdentityService
identityService
protected InboundMessageRoutingService
inboundMessageRoutingService
protected org.slf4j.Logger
logger
protected MessageService
messageService
protected TemplateService
templateService
-
Constructor Summary
Constructors Constructor Description InboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, TemplateService templateService, PlatformIdentityService identityService)
-
Method Summary
-
-
-
Field Detail
-
FALLBACK_LANGUAGE
public static final String FALLBACK_LANGUAGE
- See Also:
- Constant Field Values
-
logger
protected final org.slf4j.Logger logger
-
inboundMessageRoutingService
protected final InboundMessageRoutingService inboundMessageRoutingService
-
messageService
protected final MessageService messageService
-
externalConversationService
protected final ExternalConversationService externalConversationService
-
templateService
protected final TemplateService templateService
-
identityService
protected final PlatformIdentityService identityService
-
-
Constructor Detail
-
InboundUnsupportedMessageServiceImpl
public InboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, TemplateService templateService, PlatformIdentityService identityService)
-
-
Method Detail
-
unsupportedMessageReceived
public void unsupportedMessageReceived(InboundMessage inboundMessage, UserAccount userAccount)
Description copied from interface:InboundUnsupportedMessageService
An unsupported inbound message has been received. If theUserAccount
for the receive message is known it would be sent in the request- Specified by:
unsupportedMessageReceived
in interfaceInboundUnsupportedMessageService
- Parameters:
inboundMessage
- the received inbound messageuserAccount
- the optional user account (if there is one for the user account)
-
unsupportedMessageReceivedNoAccount
protected void unsupportedMessageReceivedNoAccount(InboundMessage inboundMessage)
-
unsupportedMessageReceivedInactiveAccount
protected void unsupportedMessageReceivedInactiveAccount(InboundMessage inboundMessage, UserAccount userAccount)
-
unsupportedMessageReceivedActiveAccount
protected void unsupportedMessageReceivedActiveAccount(InboundMessage inboundMessage, UserAccount userAccount)
-
sendInternalUnsupportedMessageInConversation
protected void sendInternalUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount)
-
sendPrivateUnsupportedMessageInConversation
protected void sendPrivateUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount)
-
sendUnsupportedMessageDirectlyToUser
protected void sendUnsupportedMessageDirectlyToUser(InboundMessage inboundMessage, UserAccount userAccount)
-
getExternalUnsupportedMessage
protected String getExternalUnsupportedMessage(InboundMessage inboundMessage, UserAccount userAccount)
-
getMessageExternalId
protected String getMessageExternalId(InboundMessage inboundMessage)
-
isDuplicateMessage
protected boolean isDuplicateMessage(String externalId)
-
getLanguageForAccount
protected String getLanguageForAccount(UserAccount userAccount)
-
getTenantForAccount
protected String getTenantForAccount(UserAccount userAccount)
-
-