Class InboundReactionBuilderImpl
java.lang.Object
com.flowable.engage.external.system.service.InboundReactionBuilderImpl
- All Implemented Interfaces:
InboundReaction, InboundReactionBuilder
public class InboundReactionBuilderImpl
extends Object
implements InboundReactionBuilder, InboundReaction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInboundReactionBuilderImpl(InboundReactionHandlerImpl inboundReactionHandler) -
Method Summary
Modifier and TypeMethodDescriptionbusinessAccountId(String businessAccountId) The id of the business account that has received the reaction.externalMessageId(String externalMessageId) The external message id the reaction is linked toexternalSenderId(String externalSenderId) The external id of the user who reactedexternalSenderName(String externalSenderName) externalSystemId(String externalSystemId) The id of the system that the reaction originates from.The reactionRemove previous user reactionvoidsend()Perform the actual reaction send to the engage platform
-
Field Details
-
inboundReactionHandler
-
externalSenderName
-
externalSenderId
-
externalSystemId
-
businessAccountId
-
externalMessageId
-
reaction
-
removePreviousUserReaction
protected boolean removePreviousUserReaction
-
-
Constructor Details
-
InboundReactionBuilderImpl
-
-
Method Details
-
getExternalSenderName
- Specified by:
getExternalSenderNamein interfaceInboundReaction
-
externalSenderName
- Specified by:
externalSenderNamein interfaceInboundReactionBuilder
-
getExternalSenderId
- Specified by:
getExternalSenderIdin interfaceInboundReaction
-
externalSenderId
Description copied from interface:InboundReactionBuilderThe external id of the user who reacted- Specified by:
externalSenderIdin interfaceInboundReactionBuilder- Parameters:
externalSenderId- the external id of the sender
-
getExternalSystemId
- Specified by:
getExternalSystemIdin interfaceInboundReaction
-
externalSystemId
Description copied from interface:InboundReactionBuilderThe id of the system that the reaction originates from.- Specified by:
externalSystemIdin interfaceInboundReactionBuilder- Parameters:
externalSystemId- the system id- See Also:
-
getBusinessAccountId
- Specified by:
getBusinessAccountIdin interfaceInboundReaction
-
businessAccountId
Description copied from interface:InboundReactionBuilderThe id of the business account that has received the reaction. (e.g. WhatsApp business number, WeChat official account, etc)- Specified by:
businessAccountIdin interfaceInboundReactionBuilder- Parameters:
businessAccountId- the id of the business account
-
getExternalMessageId
- Specified by:
getExternalMessageIdin interfaceInboundReaction
-
externalMessageId
Description copied from interface:InboundReactionBuilderThe external message id the reaction is linked to- Specified by:
externalMessageIdin interfaceInboundReactionBuilder- Parameters:
externalMessageId- the external message id
-
getReaction
- Specified by:
getReactionin interfaceInboundReaction
-
reaction
Description copied from interface:InboundReactionBuilderThe reaction- Specified by:
reactionin interfaceInboundReactionBuilder- Parameters:
reaction- the reaction
-
getRemovePreviousUserReaction
- Specified by:
getRemovePreviousUserReactionin interfaceInboundReaction
-
removePreviousUserReaction
Description copied from interface:InboundReactionBuilderRemove previous user reaction- Specified by:
removePreviousUserReactionin interfaceInboundReactionBuilder
-
send
public void send()Description copied from interface:InboundReactionBuilderPerform the actual reaction send to the engage platform- Specified by:
sendin interfaceInboundReactionBuilder
-