public abstract class BaseUpdateMessageContentCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
Constructor and Description |
---|
BaseUpdateMessageContentCmd(String messageId) |
Modifier and Type | Method and Description |
---|---|
protected MessageAuditEntity |
auditMessage(MessageEntity message,
String updaterId,
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) |
protected String messageId
public BaseUpdateMessageContentCmd(String messageId)
public MessageEntity execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute
in interface org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
protected MessageAuditEntity auditMessage(MessageEntity message, String updaterId, Date updateTime, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected void validateCommand()
protected void validateMessage(MessageEntity message)
protected abstract void updateMessage(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
Copyright © 2019. All rights reserved.