Class ReactToMessageCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.ReactToMessageCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<java.lang.String>
public class ReactToMessageCmd
extends java.lang.Object
implements org.flowable.common.engine.impl.interceptor.Command<java.lang.String>
- Author:
- Luis Belloch
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ReactToMessageCmd(java.lang.String messageId, java.lang.String userId, java.lang.String reaction)
-
Method Summary
Modifier and Type Method Description java.lang.String
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected java.lang.String
reactionAlreadyExists(java.util.List<Reaction> reactions)
-
Field Details
-
Constructor Details
-
ReactToMessageCmd
public ReactToMessageCmd(java.lang.String messageId, java.lang.String userId, java.lang.String reaction)
-
-
Method Details
-
execute
public java.lang.String execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.lang.String>
-
reactionAlreadyExists
-