public class CreateAttachmentCmd extends Object implements Command<Attachment>
| Modifier and Type | Field and Description |
|---|---|
protected String |
attachmentDescription |
protected String |
attachmentName |
protected String |
attachmentType |
protected InputStream |
content |
protected String |
processInstanceId |
protected String |
taskId |
protected String |
url |
| Constructor and Description |
|---|
CreateAttachmentCmd(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
InputStream content,
String url) |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
execute(CommandContext commandContext) |
protected String attachmentType
protected String taskId
protected String processInstanceId
protected String attachmentName
protected String attachmentDescription
protected InputStream content
protected String url
public Attachment execute(CommandContext commandContext)
execute in interface Command<Attachment>Copyright © 2016 Alfresco. All rights reserved.