org.camunda.bpm.engine.impl.cmd
Class CreateAttachmentCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.CreateAttachmentCmd
All Implemented Interfaces:
Command<Attachment>

public class CreateAttachmentCmd
extends Object
implements Command<Attachment>

Author:
Tom Baeyens

Field Summary
protected  String attachmentDescription
           
protected  String attachmentName
           
protected  String attachmentType
           
protected  InputStream content
           
protected  String processInstanceId
           
protected  String taskId
           
protected  String url
           
 
Constructor Summary
CreateAttachmentCmd(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content, String url)
           
 
Method Summary
 Attachment execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskId

protected String taskId

attachmentType

protected String attachmentType

processInstanceId

protected String processInstanceId

attachmentName

protected String attachmentName

attachmentDescription

protected String attachmentDescription

content

protected InputStream content

url

protected String url
Constructor Detail

CreateAttachmentCmd

public CreateAttachmentCmd(String attachmentType,
                           String taskId,
                           String processInstanceId,
                           String attachmentName,
                           String attachmentDescription,
                           InputStream content,
                           String url)
Method Detail

execute

public Attachment execute(CommandContext commandContext)
Specified by:
execute in interface Command<Attachment>


Copyright © 2014 camunda services GmbH. All Rights Reserved.