Class MarkMessageAsReadCmd

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

public class MarkMessageAsReadCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Void>
Author:
Filip Hrisafov, Joram Barrez
  • Field Details

    • messageId

      protected final String messageId
    • userId

      protected final String userId
  • Constructor Details

    • MarkMessageAsReadCmd

      public MarkMessageAsReadCmd(String messageId, String userId)
  • Method Details

    • execute

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

      protected void fireMessageReadEvent(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String userId, MessageEntity message)