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 Object
implements org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
- Author:
- Luis Belloch, Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageAuditEntityauditMessage(MessageEntity message, String updaterId, Date updateTime, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected abstract voidupdateMessage(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected voidprotected voidvalidateMessage(MessageEntity message)
-
Field Details
-
messageId
-
-
Constructor Details
-
BaseUpdateMessageContentCmd
-
-
Method Details
-
execute
public MessageEntity execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<MessageEntity>
-
auditMessage
protected MessageAuditEntity auditMessage(MessageEntity message, String updaterId, 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)
-