Class DeleteMessageCmd

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

public class DeleteMessageCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Void>
Author:
Tijs Rademakers
  • Field Details

    • messageId

      protected final String messageId
    • userId

      protected final String userId
  • Constructor Details

    • DeleteMessageCmd

      public DeleteMessageCmd(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>
    • fireMessageDeletedEvent

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