Package org.camunda.bpm.engine.impl.cmd
Class CreateAttachmentCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.CreateAttachmentCmd
- All Implemented Interfaces:
Command<Attachment>
- Author:
- Tom Baeyens
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected InputStream
protected ExecutionEntity
protected String
protected String
protected String
-
Constructor Summary
ConstructorDescriptionCreateAttachmentCmd
(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content, String url) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(CommandContext commandContext) protected HistoricProcessInstanceEventEntity
getHistoricRootProcessInstance
(String rootProcessInstanceId) protected String
protected boolean
protected void
provideRemovalTime
(AttachmentEntity attachment)
-
Field Details
-
taskId
-
attachmentType
-
processInstanceId
-
attachmentName
-
attachmentDescription
-
-
url
-
processInstance
-
-
Constructor Details
-
CreateAttachmentCmd
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand<Attachment>
-
isHistoryRemovalTimeStrategyStart
protected boolean isHistoryRemovalTimeStrategyStart() -
getHistoryRemovalTimeStrategy
-
getHistoricRootProcessInstance
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(String rootProcessInstanceId) -
provideRemovalTime
-