Class ChangeConversationOwnerCmd

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

public class ChangeConversationOwnerCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Void>
Changes the owner of the conversation.
Author:
Anatolii Balakiriev
  • Field Details

    • conversationId

      protected final String conversationId
    • ownerUserId

      protected final String ownerUserId
  • Constructor Details

    • ChangeConversationOwnerCmd

      public ChangeConversationOwnerCmd(String conversationId, String ownerUserId)
  • 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>
    • removeOwnerFromConversation

      protected String removeOwnerFromConversation(ConversationEntity conversation, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)