Class BaseUpdateMessageContentCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.BaseUpdateMessageContentCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
- Direct Known Subclasses:
UpdateMessageContentCmd
,UpdateMessageMediaContentCmd
,UpdateMessageMediaContentIdCmd
public abstract class BaseUpdateMessageContentCmd extends java.lang.Object implements org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
- Author:
- Luis Belloch, Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
messageId
-
Constructor Summary
Constructors Constructor Description BaseUpdateMessageContentCmd(java.lang.String messageId)
-
Method Summary
Modifier and Type Method Description protected MessageAuditEntity
auditMessage(MessageEntity message, java.lang.String updaterId, java.util.Date updateTime, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
MessageEntity
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected abstract void
updateMessage(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected void
validateCommand()
protected void
validateMessage(MessageEntity message)
-
Field Details
-
messageId
protected java.lang.String messageId
-
-
Constructor Details
-
BaseUpdateMessageContentCmd
public BaseUpdateMessageContentCmd(java.lang.String messageId)
-
-
Method Details
-
execute
public MessageEntity execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<MessageEntity>
-
auditMessage
protected MessageAuditEntity auditMessage(MessageEntity message, java.lang.String updaterId, java.util.Date updateTime, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
validateCommand
protected void validateCommand() -
validateMessage
-
updateMessage
protected abstract void updateMessage(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-