Class UpdateMessageMediaContentCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.BaseUpdateMessageContentCmd
com.flowable.engage.engine.impl.cmd.UpdateMessageMediaContentCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.content.api.ContentItem
protected InputStream
Fields inherited from class com.flowable.engage.engine.impl.cmd.BaseUpdateMessageContentCmd
messageId
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateMessageMediaContentCmd
(String messageId, org.flowable.content.api.ContentItem contentItem, InputStream contentStream) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
updateMessage
(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected void
protected void
validateMessage
(MessageEntity message) Methods inherited from class com.flowable.engage.engine.impl.cmd.BaseUpdateMessageContentCmd
auditMessage, execute
-
Field Details
-
contentItem
protected org.flowable.content.api.ContentItem contentItem -
contentStream
-
-
Constructor Details
-
UpdateMessageMediaContentCmd
public UpdateMessageMediaContentCmd(String messageId, org.flowable.content.api.ContentItem contentItem, InputStream contentStream)
-
-
Method Details
-
validateCommand
protected void validateCommand()- Overrides:
validateCommand
in classBaseUpdateMessageContentCmd
-
validateMessage
- Overrides:
validateMessage
in classBaseUpdateMessageContentCmd
-
updateMessage
protected void updateMessage(MessageEntity message, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
updateMessage
in classBaseUpdateMessageContentCmd
-