Class BaseUpdateConversationCmd
- java.lang.Object
-
- com.flowable.engage.engine.impl.cmd.BaseUpdateConversationCmd
-
- All Implemented Interfaces:
Command<ConversationEntity>
- Direct Known Subclasses:
ArchiveConversationCmd
,ReopenConversationCmd
,SetConversationReferenceCmd
,UpdateConversationAvatarIdCmd
,UpdateConversationDescriptionCmd
,UpdateConversationNameCmd
public abstract class BaseUpdateConversationCmd extends Object implements Command<ConversationEntity>
Abstract base implementation for updating different aspects of a conversation.- Author:
- Filip Hrisafov, Micha Kiener
-
-
Field Summary
Fields Modifier and Type Field Description protected String
conversationId
protected boolean
fetchIdentityLinks
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConversationEntity
execute(CommandContext commandContext)
protected String
getConversationId()
protected abstract void
modifyConversationBeforeUpdate(CommandContext commandContext, ConversationEntity entity)
-
-
-
Field Detail
-
conversationId
protected final String conversationId
-
fetchIdentityLinks
protected final boolean fetchIdentityLinks
-
-
Method Detail
-
execute
public ConversationEntity execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<ConversationEntity>
-
modifyConversationBeforeUpdate
protected abstract void modifyConversationBeforeUpdate(CommandContext commandContext, ConversationEntity entity)
-
getConversationId
protected String getConversationId()
-
-