public class InboundUnsupportedMessageServiceImpl extends Object implements InboundUnsupportedMessageService
Modifier and Type | Field and Description |
---|---|
protected ExternalConversationService |
externalConversationService |
static String |
FALLBACK_LANGUAGE |
protected com.flowable.core.idm.api.PlatformIdentityService |
identityService |
protected InboundMessageRoutingService |
inboundMessageRoutingService |
protected org.slf4j.Logger |
logger |
protected MessageService |
messageService |
protected com.flowable.template.api.TemplateService |
templateService |
Constructor and Description |
---|
InboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService,
MessageService messageService,
ExternalConversationService externalConversationService,
com.flowable.template.api.TemplateService templateService,
com.flowable.core.idm.api.PlatformIdentityService identityService) |
Modifier and Type | Method and Description |
---|---|
protected String |
getExternalUnsupportedMessage(InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
protected String |
getLanguageForAccount(com.flowable.core.idm.api.UserAccount userAccount) |
protected String |
getMessageExternalId(InboundMessage inboundMessage) |
protected boolean |
isDuplicateMessage(String externalId) |
protected void |
sendInternalUnsupportedMessageInConversation(String conversationIdForUserAccount,
InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
protected void |
sendPrivateUnsupportedMessageInConversation(String conversationIdForUserAccount,
InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
protected void |
sendUnsupportedMessageDirectlyToUser(InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
void |
unsupportedMessageReceived(InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount)
An unsupported inbound message has been received.
|
protected void |
unsupportedMessageReceivedActiveAccount(InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
protected void |
unsupportedMessageReceivedInactiveAccount(InboundMessage inboundMessage,
com.flowable.core.idm.api.UserAccount userAccount) |
protected void |
unsupportedMessageReceivedNoAccount(InboundMessage inboundMessage) |
public static final String FALLBACK_LANGUAGE
protected final org.slf4j.Logger logger
protected final InboundMessageRoutingService inboundMessageRoutingService
protected final MessageService messageService
protected final ExternalConversationService externalConversationService
protected final com.flowable.template.api.TemplateService templateService
protected final com.flowable.core.idm.api.PlatformIdentityService identityService
public InboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, com.flowable.template.api.TemplateService templateService, com.flowable.core.idm.api.PlatformIdentityService identityService)
public void unsupportedMessageReceived(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
InboundUnsupportedMessageService
UserAccount
for the receive message is known it would
be sent in the requestunsupportedMessageReceived
in interface InboundUnsupportedMessageService
inboundMessage
- the received inbound messageuserAccount
- the optional user account (if there is one for the user account)protected void unsupportedMessageReceivedNoAccount(InboundMessage inboundMessage)
protected void unsupportedMessageReceivedInactiveAccount(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected void unsupportedMessageReceivedActiveAccount(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected void sendInternalUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected void sendPrivateUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected void sendUnsupportedMessageDirectlyToUser(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected String getExternalUnsupportedMessage(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
protected String getMessageExternalId(InboundMessage inboundMessage)
protected boolean isDuplicateMessage(String externalId)
protected String getLanguageForAccount(com.flowable.core.idm.api.UserAccount userAccount)
Copyright © 2019. All rights reserved.