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 booleanprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected final org.slf4j.Loggerprotected final MessageServiceprotected final UserAccountServiceFields 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 MessagegetMessage(InboundStatusDto status) protected UserAccountgetUserAccount(InboundStatusDto status) protected voidhandleExternalStatus(InboundStatusDto status) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidhandleExternalUserIdChange(String newExternalUserId, UserAccount userAccount) protected voidprotected voidprotected voidprotected voidprotected voidhandleInternalStatus(InboundStatusDto status) protected voidprotected voidprotected voidprotected voidhandleUnknownStatus(InboundStatusDto status) protected voidsendMessageForStatus(String messageCode, InboundStatusDto status) protected voidsendMessageForStatus(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:
handleInternalStatusin classBaseInboundStatusHandler
-
handleInternalSentStatus
-
handleExternalUserIdChange
-
handleInternalTimeoutStatus
-
handleInternalContentTimeoutStatus
-
handleInternalUploadTimeoutStatus
-
handleInternalContentDisabledStatus
-
handleInternalFailedStatus
-
handleInternalUnknownStatus
-
handleExternalStatus
- Specified by:
handleExternalStatusin classBaseInboundStatusHandler
-
handleExternalStatusSent
-
handleExternalStatusDelivered
-
handleExternalStatusRead
-
handleExternalStatusFailed
-
handleExternalStatusDeleted
-
handleExternalStatusUnknown
-
handleUnknownStatus
- Specified by:
handleUnknownStatusin classBaseInboundStatusHandler
-
sendMessageForStatus
-
sendMessageForStatus
-
getMessage
-
getUserAccount
-