Package org.activiti.engine.task
Interface Attachment
-
- All Known Subinterfaces:
AttachmentEntity
- All Known Implementing Classes:
AttachmentEntityImpl
@Deprecated @Internal public interface Attachment
Deprecated.this interface and its implementations are going to be removed in future iterations Atttachments doesn't belong to the Process/Task RuntimeAny type of content that is be associated with a task or with a process instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetContentId()Deprecated.the id of the byte array entity storing the contentStringgetDescription()Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.StringgetId()Deprecated.unique id for this attachmentStringgetName()Deprecated.free user defined short (max 255 chars) name for this attachmentStringgetProcessInstanceId()Deprecated.reference to the process instance to which this attachment is associated.StringgetTaskId()Deprecated.reference to the task to which this attachment is associated.DategetTime()Deprecated.timestamp when this attachment was createdStringgetType()Deprecated.indication of the type of content that this attachment refers to.StringgetUrl()Deprecated.the remote URL in case this is remote content.StringgetUserId()Deprecated.reference to the user who created this attachment.voidsetDescription(String description)Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.voidsetName(String name)Deprecated.free user defined short (max 255 chars) name for this attachmentvoidsetTime(Date time)Deprecated.timestamp when this attachment was created
-
-
-
Method Detail
-
getId
String getId()
Deprecated.unique id for this attachment
-
getName
String getName()
Deprecated.free user defined short (max 255 chars) name for this attachment
-
setName
void setName(String name)
Deprecated.free user defined short (max 255 chars) name for this attachment
-
getDescription
String getDescription()
Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
-
setDescription
void setDescription(String description)
Deprecated.long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
-
getType
String getType()
Deprecated.indication of the type of content that this attachment refers to. Can be mime type or any other indication.
-
getTaskId
String getTaskId()
Deprecated.reference to the task to which this attachment is associated.
-
getProcessInstanceId
String getProcessInstanceId()
Deprecated.reference to the process instance to which this attachment is associated.
-
getUrl
String getUrl()
Deprecated.the remote URL in case this is remote content. If the attachment content wasuploaded with an input stream, then this method returns null and the content can be fetched withTaskService.getAttachmentContent(String).
-
getUserId
String getUserId()
Deprecated.reference to the user who created this attachment.
-
getTime
Date getTime()
Deprecated.timestamp when this attachment was created
-
setTime
void setTime(Date time)
Deprecated.timestamp when this attachment was created
-
getContentId
String getContentId()
Deprecated.the id of the byte array entity storing the content
-
-