Class BaseUpdateMessageContentCmd
- java.lang.Object
-
- com.flowable.engage.engine.impl.cmd.BaseUpdateMessageContentCmd
-
- All Implemented Interfaces:
Command<MessageEntity>
- Direct Known Subclasses:
UpdateMessageContentCmd,UpdateMessageMediaContentCmd,UpdateMessageMediaContentIdCmd
public abstract class BaseUpdateMessageContentCmd extends Object implements Command<MessageEntity>
- Author:
- Luis Belloch, Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description BaseUpdateMessageContentCmd(String messageId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected MessageAuditEntityauditMessage(MessageEntity message, String updaterId, Date updateTime, CommandContext commandContext)MessageEntityexecute(CommandContext commandContext)protected abstract voidupdateMessage(MessageEntity message, CommandContext commandContext)protected voidvalidateCommand()protected voidvalidateMessage(MessageEntity message)
-
-
-
Field Detail
-
messageId
protected String messageId
-
-
Constructor Detail
-
BaseUpdateMessageContentCmd
public BaseUpdateMessageContentCmd(String messageId)
-
-
Method Detail
-
execute
public MessageEntity execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<MessageEntity>
-
auditMessage
protected MessageAuditEntity auditMessage(MessageEntity message, String updaterId, Date updateTime, CommandContext commandContext)
-
validateCommand
protected void validateCommand()
-
validateMessage
protected void validateMessage(MessageEntity message)
-
updateMessage
protected abstract void updateMessage(MessageEntity message, CommandContext commandContext)
-
-