Class WhatsAppInboundStatusHandler
java.lang.Object
com.flowable.engage.external.system.common.BaseInboundStatusHandler
com.flowable.engage.external.system.whatsapp.WhatsAppInboundStatusHandler
- All Implemented Interfaces:
InboundStatusHandler
public class WhatsAppInboundStatusHandler extends BaseInboundStatusHandler
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
EXTERNAL_STATUS_DELETED
protected static java.lang.String
EXTERNAL_STATUS_DELIVERED
protected static java.lang.String
EXTERNAL_STATUS_FAILED
protected static java.lang.String
EXTERNAL_STATUS_READ
protected static java.lang.String
EXTERNAL_STATUS_SENT
protected org.slf4j.Logger
logger
protected MessageService
messageService
protected com.flowable.core.idm.api.UserAccountService
userAccountService
Fields inherited from class com.flowable.engage.external.system.common.BaseInboundStatusHandler
externalSystemId
-
Constructor Summary
Constructors Constructor Description WhatsAppInboundStatusHandler(MessageService messageService, com.flowable.core.idm.api.UserAccountService userAccountService)
-
Method Summary
Methods inherited from class com.flowable.engage.external.system.common.BaseInboundStatusHandler
getExternalSystemId, handleStatus
-
Field Details
-
EXTERNAL_STATUS_SENT
protected static final java.lang.String EXTERNAL_STATUS_SENT- See Also:
- Constant Field Values
-
EXTERNAL_STATUS_DELIVERED
protected static final java.lang.String EXTERNAL_STATUS_DELIVERED- See Also:
- Constant Field Values
-
EXTERNAL_STATUS_READ
protected static final java.lang.String EXTERNAL_STATUS_READ- See Also:
- Constant Field Values
-
EXTERNAL_STATUS_FAILED
protected static final java.lang.String EXTERNAL_STATUS_FAILED- See Also:
- Constant Field Values
-
EXTERNAL_STATUS_DELETED
protected static final java.lang.String EXTERNAL_STATUS_DELETED- See Also:
- Constant Field Values
-
logger
protected final org.slf4j.Logger logger -
messageService
-
userAccountService
protected final com.flowable.core.idm.api.UserAccountService userAccountService
-
-
Constructor Details
-
WhatsAppInboundStatusHandler
public WhatsAppInboundStatusHandler(MessageService messageService, com.flowable.core.idm.api.UserAccountService userAccountService)
-
-
Method Details
-
handleInternalStatus
- Specified by:
handleInternalStatus
in classBaseInboundStatusHandler
-
handleInternalSentStatus
-
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
-
getMessage
-
getUserAccount
-