Class WhatsAppInboundStatusHandler
java.lang.Object
com.flowable.engage.external.system.common.BaseInboundStatusHandler
com.flowable.engage.external.system.whatsapp.WhatsAppInboundStatusHandler
- All Implemented Interfaces:
InboundStatusHandler
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final boolean
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected final org.slf4j.Logger
protected final MessageService
protected final UserAccountService
Fields inherited from class com.flowable.engage.external.system.common.BaseInboundStatusHandler
externalSystemId
-
Constructor Summary
ConstructorsConstructorDescriptionWhatsAppInboundStatusHandler
(MessageService messageService, UserAccountService userAccountService, boolean enableMessageDeletion) -
Method Summary
Modifier and TypeMethodDescriptionprotected Message
getMessage
(InboundStatusDto status) protected UserAccount
getUserAccount
(InboundStatusDto status) protected void
handleExternalStatus
(InboundStatusDto status) protected void
protected void
protected void
protected void
protected void
protected void
protected void
handleExternalUserIdChange
(String newExternalUserId, UserAccount userAccount) protected void
protected void
protected void
protected void
protected void
handleInternalStatus
(InboundStatusDto status) protected void
protected void
protected void
protected void
handleUnknownStatus
(InboundStatusDto status) protected void
sendMessageForStatus
(String messageCode, InboundStatusDto status) protected void
sendMessageForStatus
(String messageCode, InboundStatusDto status, Message message) Methods inherited from class com.flowable.engage.external.system.common.BaseInboundStatusHandler
getExternalSystemId, handleStatus
-
Field Details
-
EXTERNAL_STATUS_SENT
- See Also:
-
EXTERNAL_STATUS_DELIVERED
- See Also:
-
EXTERNAL_STATUS_READ
- See Also:
-
EXTERNAL_STATUS_FAILED
- See Also:
-
EXTERNAL_STATUS_DELETED
- See Also:
-
logger
protected final org.slf4j.Logger logger -
messageService
-
userAccountService
-
enableMessageDeletion
protected final boolean enableMessageDeletion
-
-
Constructor Details
-
WhatsAppInboundStatusHandler
public WhatsAppInboundStatusHandler(MessageService messageService, UserAccountService userAccountService, boolean enableMessageDeletion)
-
-
Method Details
-
handleInternalStatus
- Specified by:
handleInternalStatus
in classBaseInboundStatusHandler
-
handleInternalSentStatus
-
handleExternalUserIdChange
-
handleInternalTimeoutStatus
-
handleInternalContentTimeoutStatus
-
handleInternalUploadTimeoutStatus
-
handleInternalContentDisabledStatus
-
handleInternalFailedStatus
-
handleInternalUnknownStatus
-
handleExternalStatus
- Specified by:
handleExternalStatus
in classBaseInboundStatusHandler
-
handleExternalStatusSent
-
handleExternalStatusDelivered
-
handleExternalStatusRead
-
handleExternalStatusFailed
-
handleExternalStatusDeleted
-
handleExternalStatusUnknown
-
handleUnknownStatus
- Specified by:
handleUnknownStatus
in classBaseInboundStatusHandler
-
sendMessageForStatus
-
sendMessageForStatus
-
getMessage
-
getUserAccount
-