Class ReactToMessageCmd

java.lang.Object
com.flowable.engage.engine.impl.cmd.ReactToMessageCmd
All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<String>

public class ReactToMessageCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<String>
Author:
Luis Belloch
  • Field Details

    • messageId

      protected final String messageId
    • userId

      protected final String userId
    • reaction

      protected final String reaction
  • Constructor Details

    • ReactToMessageCmd

      public ReactToMessageCmd(String messageId, String userId, String reaction)
  • Method Details

    • execute

      public String execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<String>
    • reactionAlreadyExists

      protected String reactionAlreadyExists(List<Reaction> reactions)