public class Flowable5AttachmentWrapper extends Object implements Attachment
Attachment.| Constructor and Description |
|---|
Flowable5AttachmentWrapper(Attachment activit5Attachment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentId()
the id of the byte array entity storing the content
|
String |
getDescription()
long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
|
String |
getId()
unique id for this attachment
|
String |
getName()
free user defined short (max 255 chars) name for this attachment
|
String |
getProcessInstanceId()
reference to the process instance to which this attachment is associated.
|
Attachment |
getRawObject() |
String |
getTaskId()
reference to the task to which this attachment is associated.
|
Date |
getTime()
timestamp when this attachment was created
|
String |
getType()
indication of the type of content that this attachment refers to.
|
String |
getUrl()
the remote URL in case this is remote content.
|
String |
getUserId()
reference to the user who created this attachment.
|
void |
setDescription(String description)
long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
|
void |
setName(String name)
free user defined short (max 255 chars) name for this attachment
|
void |
setTime(Date time)
timestamp when this attachment was created
|
public Flowable5AttachmentWrapper(Attachment activit5Attachment)
public String getId()
AttachmentgetId in interface Attachmentpublic String getName()
AttachmentgetName in interface Attachmentpublic void setName(String name)
AttachmentsetName in interface Attachmentpublic String getDescription()
AttachmentgetDescription in interface Attachmentpublic void setDescription(String description)
AttachmentsetDescription in interface Attachmentpublic String getType()
AttachmentgetType in interface Attachmentpublic String getTaskId()
AttachmentgetTaskId in interface Attachmentpublic String getProcessInstanceId()
AttachmentgetProcessInstanceId in interface Attachmentpublic String getUrl()
Attachmentuploaded with an
input stream, then this method returns null and the content can be fetched with TaskService.getAttachmentContent(String).getUrl in interface Attachmentpublic String getUserId()
AttachmentgetUserId in interface Attachmentpublic Date getTime()
AttachmentgetTime in interface Attachmentpublic void setTime(Date time)
AttachmentsetTime in interface Attachmentpublic String getContentId()
AttachmentgetContentId in interface Attachmentpublic Attachment getRawObject()
Copyright © 2023 Flowable. All rights reserved.